![]() |
VR-Forces Developer's Guide
|
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.

Public Member Functions | |
| DtVrfObjectMessage () | |
| DtVrfObjectMessage (const DtVrfObjectMessage &orig) | |
| const DtVrfObjectMessage & | operator= (const DtVrfObjectMessage &orig) |
| virtual | ~DtVrfObjectMessage () override |
| virtual int | messageType () const override |
| virtual int | contentCategoryType () const =0 |
| virtual int | radioMessageType () const |
| virtual char * | netRep () |
| virtual int | netRepSize () const |
| virtual bool | setFromNet (const char *networkBuffer, unsigned contentSize) |
| virtual bool | setToNet () |
| virtual void | printDataToString (DtString &str) override |
| virtual int | scenarioRunId () const |
| virtual void | setScenarioRunId (int) |
| 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 |
Static Public Member Functions | |
| 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 | |
| virtual char * | createNetworkBuffer () |
Protected Attributes | |
| DtUUID | myTransmitter |
| DtUUID | myReceiver |
| char * | myNetRep |
| int | myScenarioRunId |
Static Protected Attributes | |
| static DtVrfObjectMessageFactory * | myFactory |
| DtVrfObjectMessage::DtVrfObjectMessage | ( | ) |
default constructor
| DtVrfObjectMessage::DtVrfObjectMessage | ( | const DtVrfObjectMessage & | orig | ) |
copy constructor: shallow; copies values only.
|
overridevirtual |
destructor
| const DtVrfObjectMessage& DtVrfObjectMessage::operator= | ( | const DtVrfObjectMessage & | orig | ) |
assignment operator: shallow; assigns values only.
|
overridevirtual |
Implements DtSimMessage.
|
pure virtual |
Implemented in DtTaskMessage, DtSetDataRequestMessage, DtReportMessage, and DtAdminMessage.
|
virtual |
|
virtual |
Note that sending/receiving by echelon id is no longer supported. Only supported sending by name or UUID of object Setting this to DtVrfObjectMessageSendToAll will cause it to be sent to all entities. Setting this to DtVrfObjectMessageFrontEndAddress will cause it to be sent to add VRF Remote Control applications in the exercise.
|
virtual |
Note that sending/receiving by echelon id is no longer supported. Only supported sending by name or UUID of object Setting this to DtVrfObjectMessageSendToAll will cause it to be sent to all entities. Setting this to DtVrfObjectMessageFrontEndAddress will cause it to be sent to add VRF Remote Control applications in the exercise.
|
inlinevirtual |
Note that sending/receiving by echelon id is no longer supported. Only supported sending by name or UUID of object Setting this to DtVrfObjectMessageSendToAll will cause it to be sent to all entities. Setting this to DtVrfObjectMessageFrontEndAddress will cause it to be sent to add VRF Remote Control applications in the exercise.
|
inlinevirtual |
Note that sending/receiving by echelon id is no longer supported. Only supported sending by name or UUID of object Setting this to DtVrfObjectMessageSendToAll will cause it to be sent to all entities. Setting this to DtVrfObjectMessageFrontEndAddress will cause it to be sent to add VRF Remote Control applications in the exercise.
|
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 |
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.
|
inlinevirtual |
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.
|
inlinevirtual |
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 |
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, DtSetDataRequestMessage, DtReportMessage, and DtAdminMessage.
|
virtual |
Fills in the message from the network buffer.
Reimplemented in DtTaskMessage, DtSetDataRequestMessage, DtReportMessage, and DtAdminMessage.
|
virtual |
Fill in our network representation.
Reimplemented in DtTaskMessage, DtSetDataRequestMessage, DtReportMessage, and DtAdminMessage.
|
overridevirtual |
Print message.
Reimplemented from DtSimMessage.
Reimplemented in DtTaskMessage, DtSetDataRequestMessage, DtReportMessage, 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 |