VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
DtAdminMessage Class Reference
Inheritance diagram for DtAdminMessage:
Inheritance graph
[legend]

Public Member Functions

 DtAdminMessage ()
 
 DtAdminMessage (const DtAdminMessage &orig)
 
virtual ~DtAdminMessage () override
 
virtual DtAdminContent * adminContent () const
 
virtual void setAdminContent (DtAdminContent *content)
 
virtual int contentCategoryType () const override
 
virtual const
DtAdminContentMessageType & 
contentType () const
 
virtual DtSimMessage * clone () const override
 
virtual int netRepSize () const override
 
virtual bool setFromNet (const char *networkBuffer, unsigned contentSize) override
 
virtual bool setToNet () override
 
virtual void printDataToString (DtString &str) override
 
- Public Member Functions inherited from DtVrfObjectMessage
 DtVrfObjectMessage ()
 
 DtVrfObjectMessage (const DtVrfObjectMessage &orig)
 
const DtVrfObjectMessage & operator= (const DtVrfObjectMessage &orig)
 
virtual ~DtVrfObjectMessage () override
 
virtual int messageType () const override
 
virtual int radioMessageType () const
 
virtual char * netRep ()
 
virtual const DtUUID & scenarioRunId () const
 
virtual void setScenarioRunId (const DtUUID &)
 
virtual void setReceiver (const DtUUID &receiver)
 
virtual const DtUUID & receiver () const
 
virtual void setRecipient (const DtUUID &receiver)
 
virtual const DtUUID & recipient () const
 
virtual void setTransmitter (const DtUUID &transmitter)
 
virtual const DtUUID & transmitter () const
 
virtual void setSender (const DtUUID &transmitter)
 
virtual const DtUUID & sender () const
 
- Public Member Functions inherited from DtSimMessage
 DtSimMessage ()
 
 DtSimMessage (const DtSimMessage &orig)
 
const DtSimMessage & operator= (const DtSimMessage &orig)
 
virtual ~DtSimMessage ()
 
virtual std::string debugText () const
 

Static Public Member Functions

static DtVrfObjectMessage * creator ()
 
- Static Public Member Functions inherited from DtVrfObjectMessage
static DtVrfObjectMessage * createVrfObjectMessage (int type)
 
static DtVrfObjectMessage * createRadioMessage (int type)
 
static void addVrfObjectMessageCreatorFcn (int type, DtVrfObjectMessageCreatorFcn fcn)
 
static void addRadioMessageCreatorFcn (int type, DtVrfObjectMessageCreatorFcn fcn)
 
static void setFactory (DtVrfObjectMessageFactory *factory)
 
static DtVrfObjectMessageFactory * factory ()
 

Protected Member Functions

const DtAdminMessage & operator= (DtAdminMessage &orig)
 
- Protected Member Functions inherited from DtVrfObjectMessage
virtual char * createNetworkBuffer ()
 

Protected Attributes

DtAdminContent * myAdminContent
 
bool myOwnContent
 
- Protected Attributes inherited from DtVrfObjectMessage
DtUUID myTransmitter
 
DtUUID myReceiver
 
char * myNetRep
 
DtUUID myScenarioRunId
 

Additional Inherited Members

- Static Protected Attributes inherited from DtVrfObjectMessage
static DtVrfObjectMessageFactory * myFactory
 

Constructor & Destructor Documentation

DtAdminMessage::DtAdminMessage ( )

default constructor

DtAdminMessage::DtAdminMessage ( const DtAdminMessage &  orig)
virtual DtAdminMessage::~DtAdminMessage ( )
overridevirtual

destructor

Member Function Documentation

const DtAdminMessage& DtAdminMessage::operator= ( DtAdminMessage &  orig)
protected
virtual DtAdminContent* DtAdminMessage::adminContent ( ) const
virtual

Returns a pointer to the DtAdminContent object in the message.

virtual void DtAdminMessage::setAdminContent ( DtAdminContent *  content)
virtual

Sets the content of the message.

Note
This method only keeps a pointer to the content, and does not clone it. The caller must ensure that the content exists for the lifetime of this message.
virtual int DtAdminMessage::contentCategoryType ( ) const
overridevirtual
Returns
DtAdminMessageType.

Implements DtVrfObjectMessage.

virtual const DtAdminContentMessageType& DtAdminMessage::contentType ( ) const
virtual
Returns
the type of the content.
virtual DtSimMessage* DtAdminMessage::clone ( ) const
overridevirtual

Required override. Clones itself and the DtAdminContnet it points to.

Implements DtSimMessage.

virtual int DtAdminMessage::netRepSize ( ) const
overridevirtual
Returns
the serialization size of this message.

Reimplemented from DtVrfObjectMessage.

virtual bool DtAdminMessage::setFromNet ( const char *  networkBuffer,
unsigned  contentSize 
)
overridevirtual

Extracts the content type, creates the content (using the admin content factory), and then tells the content to fill itself in from the network buffer.

Reimplemented from DtVrfObjectMessage.

virtual bool DtAdminMessage::setToNet ( )
overridevirtual

Fill in our content type, tell the content to fill itself out, and then copy its buffer into ours.

Reimplemented from DtVrfObjectMessage.

virtual void DtAdminMessage::printDataToString ( DtString &  str)
overridevirtual

Print message.

Reimplemented from DtVrfObjectMessage.

static DtVrfObjectMessage* DtAdminMessage::creator ( )
static

Member Data Documentation

DtAdminContent* DtAdminMessage::myAdminContent
protected
bool DtAdminMessage::myOwnContent
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)