![]() |
VR-Forces 4.10 Class Documentation
|
The base class for all messages to/from a specific DtVrfObject. More...

Public Member Functions | |
| DtVrfObjectMessage () | |
| default constructor More... | |
| DtVrfObjectMessage (const DtVrfObjectMessage &orig) | |
| copy constructor: shallow; copies values only. More... | |
| const DtVrfObjectMessage & | operator= (const DtVrfObjectMessage &orig) |
| assignment operator: shallow; assigns values only. More... | |
| virtual | ~DtVrfObjectMessage () |
| destructor More... | |
| virtual int | messageType () const |
| virtual int | contentCategoryType () const =0 |
| virtual int | radioMessageType () const |
| virtual char * | netRep () |
| Returns a pointer to the simulation network representation of this message. More... | |
| virtual int | netRepSize () const |
| Returns the size of the simulation network representation of this message. More... | |
| virtual bool | setFromNet (const char *networkBuffer, unsigned contentSize) |
| Fills in the message from the network buffer. More... | |
| virtual bool | setToNet () |
| Fill in our network representation. More... | |
| virtual void | printDataToString (DtString &str) |
| Print message. More... | |
| virtual int | scenarioRunId () const |
| If used, the scenario run id of the scenario that sent this message. More... | |
| virtual void | setScenarioRunId (int) |
| virtual void | setReceiver (const DtUUID &receiver) |
| Note that sending/receiving by echelon id is no longer supported. More... | |
| virtual const DtUUID & | receiver () const |
| virtual void | setRecipient (const DtUUID &receiver) |
| virtual const DtUUID & | recipient () const |
| virtual void | setTransmitter (const DtUUID &transmitter) |
| Note that sending/receiving by echelon id is no longer supported. More... | |
| virtual const DtUUID & | transmitter () const |
| virtual void | setSender (const DtUUID &transmitter) |
| virtual const DtUUID & | sender () const |
Static Public Member Functions | |
| static DtVrfObjectMessage * | createVrfObjectMessage (int type) |
| Creates a new DtVrfObjectMessage subclass using the static factory. More... | |
| static DtVrfObjectMessage * | createRadioMessage (int type) |
| static void | addVrfObjectMessageCreatorFcn (int type, DtVrfObjectMessageCreatorFcn fcn) |
| Adds a new creator function to the DtVrfObjectMessageFactory. More... | |
| static void | addRadioMessageCreatorFcn (int type, DtVrfObjectMessageCreatorFcn fcn) |
| static void | setFactory (DtVrfObjectMessageFactory *factory) |
| static DtVrfObjectMessageFactory * | factory () |
Protected Member Functions | |
| virtual char * | createNetworkBuffer () |
Protected Attributes | |
| DtUUID | myTransmitter |
| DtUUID | myReceiver |
| char * | myNetRep |
| int | myScenarioRunId |
Static Protected Attributes | |
| static DtVrfObjectMessageFactory * | myFactory |
The base class for all messages to/from a specific DtVrfObject.
Various subclasses of this class will have different types of contents, such as tasks or set data requests.
| DtVrfObjectMessage::DtVrfObjectMessage | ( | ) |
default constructor
| DtVrfObjectMessage::DtVrfObjectMessage | ( | const DtVrfObjectMessage & | orig | ) |
copy constructor: shallow; copies values only.
|
virtual |
destructor
| const DtVrfObjectMessage& DtVrfObjectMessage::operator= | ( | const DtVrfObjectMessage & | orig | ) |
assignment operator: shallow; assigns values only.
|
virtual |
Implements DtSimMessage.
|
pure virtual |
Implemented in DtTaskMessage, DtReportMessage, DtSetDataRequestMessage, and DtAdminMessage.
|
virtual |
|
virtual |
Note that sending/receiving by echelon id is no longer supported.
|
virtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Note that sending/receiving by echelon id is no longer supported.
Only supported sending by name or UUID of object This may be set to DtVrfObjectMessageFrontEndAddress if the message was sent by a VRF remote control application, like VR-Forces GUI.
|
virtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Returns a pointer to the simulation network representation of this message.
|
virtual |
Returns the size of the simulation network representation of this message.
This size includes any task, set data, or report contents.
Reimplemented in DtTaskMessage, DtReportMessage, DtSetDataRequestMessage, and DtAdminMessage.
|
virtual |
Fills in the message from the network buffer.
Reimplemented in DtTaskMessage, DtReportMessage, DtSetDataRequestMessage, and DtAdminMessage.
|
virtual |
Fill in our network representation.
Reimplemented in DtTaskMessage, DtReportMessage, DtSetDataRequestMessage, and DtAdminMessage.
|
virtual |
Print message.
Reimplemented from DtSimMessage.
Reimplemented in DtTaskMessage, DtReportMessage, DtSetDataRequestMessage, and DtAdminMessage.
|
static |
Creates a new DtVrfObjectMessage subclass using the static factory.
|
static |
|
static |
Adds a new creator function to the DtVrfObjectMessageFactory.
|
static |
|
static |
|
static |
|
virtual |
If used, the scenario run id of the scenario that sent this message.
|
virtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |