Public Member Functions |
| | DtLgrResponsePdu (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| | (default) constructor
|
| | DtLgrResponsePdu (const DtNetLgrControlPdu *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER, DtPduFactory *pduFactory=0) |
| | constructor (construct from network representation)
|
| | DtLgrResponsePdu (const DtEntityIdentifier &sender, const DtEntityIdentifier &receiver, int commandDomain, int commandProtocol, int commandId, const DtString ¶metersBuffer, int pduSize=theCommandPduSize, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| | constructor (construct and prepare for send)
|
| virtual | ~DtLgrResponsePdu () |
| | destructor
|
| | DtLgrResponsePdu (const DtLgrResponsePdu &src) |
| | copy constructor
|
| DtLgrResponsePdu & | operator= (const DtLgrResponsePdu &src) |
| | assignment operator
|
| virtual void | printDataToStream (std::ostream &stream) const |
| | Print contents.
|
Public Member Functions inherited from DtLgrCommandPdu |
| | DtLgrCommandPdu (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| | (default) constructor
|
| | DtLgrCommandPdu (const DtNetLgrControlPdu *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER, DtPduFactory *pduFactory=0) |
| | 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 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.
|
| | DtLgrControlPdu (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER, int pduSize=sizeof(DtNetLgrControlPdu)) |
| | (default) constructor
|
| | DtLgrControlPdu (const DtNetLgrControlPdu *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER, DtPduFactory *pduFactory=0) |
| | constructor (constructs from network representation)
|
| virtual | ~DtLgrControlPdu () |
| | destructor
|
| | DtLgrControlPdu (const DtLgrControlPdu &src) |
| | copy constructor
|
| DtLgrControlPdu & | operator= (const DtLgrControlPdu &src) |
| | assignment operator
|
| virtual const DtEntityIdentifier & | receiverId () const |
| | Get/set identifier of intended recipient (logger).
|
| virtual void | setReceiverId (const DtEntityIdentifier &id) |
| virtual const DtEntityIdentifier & | senderId () const |
| | Get/set identifier of sender, if applicable.
|
| virtual void | setSenderId (const DtEntityIdentifier &id) |
| virtual DtLgrCommand | lgrCommand () const |
| | Get message-type for proper casting to a subclass.
|
| virtual DtU16 | lctVersion () const |
| | Get/set version.
|
| void | setLctVersion (DtU16 versionNumber) |
| | Called in constructor so not virtual.
|
| virtual DtU32 | sequence () const |
| | Get/set sequence number.
|
| virtual void | setSequence (DtU32 sequenceNumber) |
| virtual bool | checkVersion () const |
| | Check that this PDU's LCT version is compatible.
|
Instances of DtLgrResponsePdu are to respond to a remote controller with the result of a logger command.