![]() |
MAK Data Logger API Documentation for HLA
|
Instances of DtLgcyLgrControlPdu are a family of messages used to control a remote instance of the MAK-Logger over the network. More...
Inheritance diagram for DtLgcyLgrControlPdu:
Collaboration diagram for DtLgcyLgrControlPdu:Public Member Functions | |
| DtLgcyLgrControlPdu (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| (default) constructor More... | |
| DtLgcyLgrControlPdu (const DtNetLgcyLgrControlPdu *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER, DtPduFactory *pduFactory=0) | |
| constructor (constructs from network representation) More... | |
| virtual | ~DtLgcyLgrControlPdu () |
| destructor More... | |
| DtLgcyLgrControlPdu (const DtLgcyLgrControlPdu &src) | |
| copy constructor More... | |
| DtLgcyLgrControlPdu & | operator= (const DtLgcyLgrControlPdu &src) |
| assignment operator More... | |
| const DtGlobalObjectDesignator & | receiverId () const |
| Get/set Object Identifier of intended recipient (logger). More... | |
| virtual void | setReceiverId (const DtGlobalObjectDesignator &id) |
| virtual const DtGlobalObjectDesignator & | senderId () const |
| Get/set Object Identifier of sender, if applicable. More... | |
| virtual void | setSenderId (const DtGlobalObjectDesignator &id) |
| DtLgrCommand | lgrCommand () const |
| Get message-type for proper casting to a subclass. More... | |
| DtNetLgcyLgrControlParams * | defaultParams () const |
| Data place holder. More... | |
| virtual void | printData () const |
| Print contents. More... | |
Static Public Member Functions | |
| static DtPdu * | create (const DtNetPacket *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER, DtPduFactory *pduFactory=0) |
| Create a PDU representation from a network packet. More... | |
| static DtLgcyLgrControlPdu * | create (DtLgrCommand command) |
| Create a PDU from DtLgrCommand. More... | |
| static const char * | lgrModeEnum2string (DtLgcyLgrMode md) |
| The name (as a string) of a 'DtLgcyLgrMode'-type enum (from value) More... | |
| static const char * | lgrFilePosEnum2string (DtLgcyLgrFilePosition pos) |
| The name (as a string) of a 'DtLgcyLgrFilePosition'-type enum (from value) More... | |
| static const char * | lgrStateFlag2string (DtLgcyLgrCtrlFlagStates flg) |
| The name (as a string) of a 'DtLgcyLgrCtrlFlagStates'-type enum (from value) More... | |
Protected Member Functions | |
| DtPduKind | internalGetPduKind () const |
| Identity for use by toolkit. More... | |
| void | setLgrCommand (DtLgrCommand com) |
| Set is done by constructing the proper subclass. More... | |
Private Attributes | |
| DtGlobalObjectDesignator | mySenderId |
| Parameter. More... | |
| DtGlobalObjectDesignator | myReceiverId |
Instances of DtLgcyLgrControlPdu are a family of messages used to control a remote instance of the MAK-Logger over the network.
See lc*.h.
| DtLgcyLgrControlPdu::DtLgcyLgrControlPdu | ( | DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER | ) |
(default) constructor
| DtLgcyLgrControlPdu::DtLgcyLgrControlPdu | ( | const DtNetLgcyLgrControlPdu * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER, |
||
| DtPduFactory * | pduFactory = 0 |
||
| ) |
constructor (constructs from network representation)
|
virtual |
destructor
| DtLgcyLgrControlPdu::DtLgcyLgrControlPdu | ( | const DtLgcyLgrControlPdu & | src | ) |
copy constructor
|
static |
Create a PDU representation from a network packet.
|
static |
Create a PDU from DtLgrCommand.
| DtNetLgcyLgrControlParams* DtLgcyLgrControlPdu::defaultParams | ( | ) | const |
Data place holder.
|
inlineprotected |
Identity for use by toolkit.
| DtLgrCommand DtLgcyLgrControlPdu::lgrCommand | ( | ) | const |
Get message-type for proper casting to a subclass.
|
static |
The name (as a string) of a 'DtLgcyLgrFilePosition'-type enum (from value)
|
static |
The name (as a string) of a 'DtLgcyLgrMode'-type enum (from value)
|
static |
The name (as a string) of a 'DtLgcyLgrCtrlFlagStates'-type enum (from value)
| DtLgcyLgrControlPdu& DtLgcyLgrControlPdu::operator= | ( | const DtLgcyLgrControlPdu & | src | ) |
assignment operator
|
virtual |
Print contents.
Reimplemented in DtLgcyLgrTotalStatePdu, DtLgcyLgrDelFilePdu, DtLgcyLgrRecFilePdu, DtLgcyLgrTimeoutPdu, DtLgcyLgrHeartbeatPdu, DtLgcyLgrPbFilePdu, DtLgcyLgrSetTimePdu, DtLgcyLgrSkipTimePdu, and DtLgcyLgrTimeScalePdu.
| const DtGlobalObjectDesignator& DtLgcyLgrControlPdu::receiverId | ( | ) | const |
Get/set Object Identifier of intended recipient (logger).
|
virtual |
Get/set Object Identifier of sender, if applicable.
|
protected |
Set is done by constructing the proper subclass.
|
virtual |
|
virtual |
|
private |
|
private |
Parameter.