![]() |
VR-Forces 4.10 Class Documentation
|
Class for DtAdminContent subclasses that contain no data. More...

Public Member Functions | |
| DtNoDataAdminContent () | |
| default constructor More... | |
| DtNoDataAdminContent (const DtNoDataAdminContent &orig) | |
| copy constructor More... | |
| const DtNoDataAdminContent & | operator= (const DtNoDataAdminContent &orig) |
| assignment operator; same as copy costructor. More... | |
| virtual | ~DtNoDataAdminContent () |
| destructor More... | |
| virtual bool | init () |
| Call after construction. More... | |
| virtual const DtAdminContentMessageType & | type () const |
| virtual DtAdminContent * | clone () const |
| Make a copy of this content. More... | |
| virtual DtString | stringRep () const |
| Get a readable string representation of this content. More... | |
| virtual int | netRepSize () const |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| Decodes content from buffer. More... | |
| virtual bool | setToNet () |
| Encodes content into buffer. More... | |
Public Member Functions inherited from DtAdminContent | |
| virtual | ~DtAdminContent () |
| destructor More... | |
| virtual char * | netRep () |
Static Public Member Functions | |
| static DtAdminContent * | create () |
| Creator function. Returns new instance of this class. More... | |
Static Public Member Functions inherited from DtAdminContent | |
| static void | addAdminContentCreatorFcn (const DtAdminContentMessageType &contentName, DtAdminContentCreatorFcn fcn) |
| static void | setFactory (DtAdminContentFactory *factory) |
| static DtAdminContentFactory * | factory () |
| static bool | isTypeRegistered (const DtAdminContentMessageType &type) |
Additional Inherited Members | |
Protected Member Functions inherited from DtAdminContent | |
| DtAdminContent () | |
| Constructors are protected because no one should instantiate the base class, just derived versions. More... | |
| DtAdminContent (const DtAdminContent &orig) | |
| copy constructor More... | |
| const DtAdminContent & | operator= (const DtAdminContent &orig) |
| assignment operator; same as copy costructor. More... | |
| virtual char * | createNetworkBuffer () |
Protected Attributes inherited from DtAdminContent | |
| char * | myNetRep |
Static Protected Attributes inherited from DtAdminContent | |
| static DtAdminContentFactory * | myFactory |
Class for DtAdminContent subclasses that contain no data.
This class allows easy creation of DtAdminContent subclasses that have no data other than their type. Simply inherit this class with and override the type function to return the content message type It is also recommended to override the stringRep() member, so that it returns a relevant string.
|
inline |
default constructor
|
inline |
copy constructor
|
inlinevirtual |
destructor
|
inline |
assignment operator; same as copy costructor.
References DtAdminContent::operator=().
|
inlinestatic |
Creator function. Returns new instance of this class.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Make a copy of this content.
Returns a pointer to a newly created copy of this class.
Implements DtAdminContent.
|
inlinevirtual |
Get a readable string representation of this content.
Implements DtAdminContent.
References DtNoDataAdminContent< T_functor >::type().
|
inlinevirtual |
Reimplemented from DtAdminContent.
References DtAdminContent::netRepSize().
|
inlinevirtual |
Decodes content from buffer.
Reimplemented from DtAdminContent.
References DtAdminContent::netRepSize(), and DtAdminContent::setFromNet().
|
inlinevirtual |
Encodes content into buffer.
Reimplemented from DtAdminContent.
References DtAdminContent::setToNet().