7 #ifndef pViewControlInter_H_
8 #define pViewControlInter_H_
11 #include <vlutil/vlString.h>
12 #include <vlutil/vlNetTypes.h>
13 #include <matrix/vlVector.h>
17 class DtPortalConnection;
94 #define DtDEC_ATTRIBUTE_PRESENT(T, N, n) \
96 void set##N(const T& val) { my##N = val; long long shiftNum = (1ull << DtVC##N); myOptionPresent = myOptionPresent | shiftNum; }\
97 const T& n() const { return my##N;} \
98 T& n() { return my##N;} \
102 #define DtDEC_ATTRIBUTE_PRESENT2(T, N, n) \
104 void set##N(const T& val) { my##N = val; long long shiftNum = (1ul << DtVC##N); myOptionPresent2 = myOptionPresent2 | shiftNum; }\
105 const T& n() const { return my##N;} \
106 T& n() { return my##N;} \
119 typedef void (*DtPortalViewControlInteractionCb)
238 virtual unsigned int netSize()
const;
239 virtual void writeSelfToBuffer(
void *buffer)
const ;
240 virtual void readSelfFromBuffer(
const void *buffer);
241 virtual std::ostream &printDataToStream(std::ostream &str)
const;
251 DtPortalViewControlInteractionCb cb,
void *usr);
253 DtPortalViewControlInteractionCb cb,
void *usr);
260 #endif //pViewControlInter_H_