13 #include <vlutil/vlNetTypes.h>
14 #include <vlutil/vlString.h>
15 #include <matrix/vlVector.h>
17 #define DtDEC_ATTRIBUTE_PRESENT(T, N, n) \
19 void set##N(const T& val) { my##N = val; long long shiftNum = (1ull << DtVC##N); myOptionPresent = myOptionPresent | shiftNum; }\
20 const T& n() const { return my##N;} \
21 T& n() { return my##N;} \
25 #define DtDEC_ATTRIBUTE_PRESENT2(T, N, n) \
27 void set##N(const T& val) { my##N = val; long long shiftNum = (1ul << DtVC##N); myOptionPresent2 = myOptionPresent2 | shiftNum; }\
28 const T& n() const { return my##N;} \
29 T& n() { return my##N;} \
36 class DtPortalConnection;
122 typedef void (*DtPortalViewControlInteractionCb) (
136 DtPortalViewControlInteractionCb cb,
void* usr );
140 DtPortalViewControlInteractionCb cb,
void* usr );
249 virtual unsigned int netSize()
const;
250 virtual void writeSelfToBuffer(
void* buffer )
const ;
251 virtual void readSelfFromBuffer(
const void* buffer );
253 virtual std::ostream& printDataToStream( std::ostream& str )
const;