![]() |
MAK Data Logger API Documentation for HLA
|
Instances of DtLgcyLgrHeartbeatPdu are to tell a remote logger to send a packet for each playback entity at least every HEARTBEAT seconds. More...
Inheritance diagram for DtLgcyLgrHeartbeatPdu:
Collaboration diagram for DtLgcyLgrHeartbeatPdu:Public Member Functions | |
| DtLgcyLgrHeartbeatPdu (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| (default) constructor | |
| DtLgcyLgrHeartbeatPdu (const DtNetLgcyLgrControlPdu *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| constructor (construct from network representation) | |
| DtLgcyLgrHeartbeatPdu (DtGlobalObjectDesignator &sender, DtGlobalObjectDesignator &receiver, DtReal hbeat, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| constructor (construct and prepare for send) | |
| virtual | ~DtLgcyLgrHeartbeatPdu () |
| destructor | |
| DtLgcyLgrHeartbeatPdu (const DtLgcyLgrHeartbeatPdu &src) | |
| copy constructor | |
| DtLgcyLgrHeartbeatPdu & | operator= (const DtLgcyLgrHeartbeatPdu &src) |
| assignment operator | |
| virtual DtReal | heartbeat () const |
| Get/set the heartbeat. See class description. | |
| virtual void | setHeartbeat (DtReal val) |
| virtual DtLgcyLgrRealParams * | params () const |
| Return correctly casted parameters pointer; see legacyLgrControlP.h. | |
| virtual void | printData () const |
| Diagnostic output. | |
Public Member Functions inherited from DtLgcyLgrControlPdu | |
| DtLgcyLgrControlPdu (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| (default) constructor | |
| DtLgcyLgrControlPdu (const DtNetLgcyLgrControlPdu *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| constructor (constructs from network representation) | |
| virtual | ~DtLgcyLgrControlPdu () |
| destructor | |
| DtLgcyLgrControlPdu (const DtLgcyLgrControlPdu &src) | |
| copy constructor | |
| DtLgcyLgrControlPdu & | operator= (const DtLgcyLgrControlPdu &src) |
| assignment operator | |
| const DtGlobalObjectDesignator & | receiverId () const |
| Get/set Object Identifier of intended recipient (logger). | |
| virtual void | setReceiverId (const DtGlobalObjectDesignator &id) |
| virtual const DtGlobalObjectDesignator & | senderId () const |
| Get/set Object Identifier of sender, if applicable. | |
| virtual void | setSenderId (const DtGlobalObjectDesignator &id) |
| DtLgrCommand | lgrCommand () const |
| Get message-type for proper casting to a subclass. | |
| DtNetLgcyLgrControlParams * | defaultParams () const |
| Data place holder. | |
Private Attributes | |
| DtReal | myHeartbeat |
| Parameter. | |
Additional Inherited Members | |
Static Public Member Functions inherited from DtLgcyLgrControlPdu | |
| static DtPdu * | create (const DtNetPacket *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| Create a PDU representation from a network packet. | |
| static DtLgcyLgrControlPdu * | create (DtLgrCommand command) |
| Create a PDU from DtLgrCommand. | |
| static const char * | lgrModeEnum2string (DtLgcyLgrMode md) |
| The name (as a string) of a 'DtLgcyLgrMode'-type enum (from value) | |
| static const char * | lgrFilePosEnum2string (DtLgcyLgrFilePosition pos) |
| The name (as a string) of a 'DtLgcyLgrFilePosition'-type enum (from value) | |
| static const char * | lgrStateFlag2string (DtLgcyLgrCtrlFlagStates flg) |
| The name (as a string) of a 'DtLgcyLgrCtrlFlagStates'-type enum (from value) | |
Protected Member Functions inherited from DtLgcyLgrControlPdu | |
| DtPduKind | internalGetPduKind () const |
| Identity for use by toolkit. | |
| void | setLgrCommand (DtLgrCommand com) |
| Set is done by constructing the proper subclass. | |
Instances of DtLgcyLgrHeartbeatPdu are to tell a remote logger to send a packet for each playback entity at least every HEARTBEAT seconds.
Important when in slow-motion.
| DtLgcyLgrHeartbeatPdu::DtLgcyLgrHeartbeatPdu | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
(default) constructor
| DtLgcyLgrHeartbeatPdu::DtLgcyLgrHeartbeatPdu | ( | const DtNetLgcyLgrControlPdu * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
constructor (construct from network representation)
| DtLgcyLgrHeartbeatPdu::DtLgcyLgrHeartbeatPdu | ( | DtGlobalObjectDesignator & | sender, |
| DtGlobalObjectDesignator & | receiver, | ||
| DtReal | hbeat, | ||
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
constructor (construct and prepare for send)
|
virtual |
destructor
| DtLgcyLgrHeartbeatPdu::DtLgcyLgrHeartbeatPdu | ( | const DtLgcyLgrHeartbeatPdu & | src | ) |
copy constructor
|
virtual |
Get/set the heartbeat. See class description.
| DtLgcyLgrHeartbeatPdu& DtLgcyLgrHeartbeatPdu::operator= | ( | const DtLgcyLgrHeartbeatPdu & | src | ) |
assignment operator
|
virtual |
Return correctly casted parameters pointer; see legacyLgrControlP.h.
|
virtual |
Diagnostic output.
Reimplemented from DtLgcyLgrControlPdu.
|
virtual |
|
private |
Parameter.