Instances of DtLgrCommandPdu are to respond to a remote controller with the result of a logger command. More...
Inheritance diagram for DtLgrCommandPdu:
Collaboration diagram for DtLgrCommandPdu:Public Member Functions | |
| DtLgrCommandPdu (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| (default) constructor | |
| DtLgrCommandPdu (const DtNetLgrControlPdu *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| constructor (construct from network representation) | |
| DtLgrCommandPdu (const DtEntityIdentifier &sender, const DtEntityIdentifier &receiver, int domain, int protocol, int commandId, const DtString ¶metersBuffer, int pduSize=theCommandPduSize, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| constructor (construct and prepare for send) | |
| virtual | ~DtLgrCommandPdu () |
| destructor | |
| DtLgrCommandPdu (const DtLgrCommandPdu &src) | |
| copy constructor | |
| DtLgrCommandPdu & | operator= (const DtLgrCommandPdu &src) |
| assignment operator | |
| virtual int | commandDomain () const |
| Get/set command domain. | |
| virtual void | setCommandDomain (int domain) |
| virtual int | commandProtocol () const |
| Get/set command protocol. | |
| virtual void | setCommandProtocol (int protocol) |
| virtual int | command () const |
| Get/set command ID. | |
| virtual void | setCommand (int commandId) |
| virtual const char * | parametersBuffer () const |
| GetSet parameter buffer. | |
| virtual void | setParametersBuffer (const DtString ¶msBuffer) |
| virtual void | printDataToStream (std::ostream &stream) const |
| Print contents. | |
| virtual const char * | commandString () const |
| Get the command ID as a string. | |
| virtual const char * | domainString () const |
| Get the domain as a string. | |
| virtual const char * | protocolString () const |
| Get the protocol as a string. | |
Static Public Member Functions | |
| static void | setDomainToString (DtDomainToStringFunc func) |
| static void | setProtocolToString (DtProtocolToStringFunc func) |
| static void | setCommandToString (DtCommandToStringFunc func) |
Protected Member Functions | |
| virtual DtLgrCommandData * | params () const |
| Return correctly cast parameters pointer; see lgrControlP.h. | |
| void | initData () |
| Initialize data in constructor. | |
Static Protected Attributes | |
| static DtDomainToStringFunc | theDomainToStringFunc |
| static DtProtocolToStringFunc | theProtocolToStringFunc |
| static DtCommandToStringFunc | theCommandToStringFunc |
Instances of DtLgrCommandPdu are to respond to a remote controller with the result of a logger command.