Instances of DtLgrAcknowledgePdu are to respond to a remote controller with the result of a logger command.
More...
Public Member Functions |
| | DtLgrAcknowledgePdu (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| | (default) constructor
|
| | DtLgrAcknowledgePdu (const DtNetLgrControlPdu *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER, DtPduFactory *pduFactory=0) |
| | constructor (construct from network representation)
|
| | DtLgrAcknowledgePdu (const DtEntityIdentifier &sender, const DtEntityIdentifier &receiver, bool processedOk, int pduSize=theAcknowledgePduSize, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| | constructor (construct and prepare for send)
|
| virtual | ~DtLgrAcknowledgePdu () |
| | destructor
|
| | DtLgrAcknowledgePdu (const DtLgrAcknowledgePdu &src) |
| | copy constructor
|
| DtLgrAcknowledgePdu & | operator= (const DtLgrAcknowledgePdu &src) |
| | assignment operator
|
| virtual bool | accepted () const |
| | Get/set result for a command.
|
| virtual void | setAccepted (bool cmdResult) |
| virtual void | printDataToStream (std::ostream &stream) const |
| | Print contents.
|
| | 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.
|
Detailed Description
Instances of DtLgrAcknowledgePdu are to respond to a remote controller with the result of a logger command.
Constructor & Destructor Documentation
| DtLgrAcknowledgePdu::DtLgrAcknowledgePdu |
( |
DtBufferPtr |
buffer = DtUSE_INTERNAL_BUFFER | ) |
|
| DtLgrAcknowledgePdu::DtLgrAcknowledgePdu |
( |
const DtNetLgrControlPdu * |
initial, |
|
|
DtBufferPtr |
buffer = DtUSE_INTERNAL_BUFFER, |
|
|
DtPduFactory * |
pduFactory = 0 |
|
) |
| |
constructor (construct from network representation)
| DtLgrAcknowledgePdu::DtLgrAcknowledgePdu |
( |
const DtEntityIdentifier & |
sender, |
|
|
const DtEntityIdentifier & |
receiver, |
|
|
bool |
processedOk, |
|
|
int |
pduSize = theAcknowledgePduSize, |
|
|
DtBufferPtr |
buffer = DtUSE_INTERNAL_BUFFER |
|
) |
| |
constructor (construct and prepare for send)
| virtual DtLgrAcknowledgePdu::~DtLgrAcknowledgePdu |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual bool DtLgrAcknowledgePdu::accepted |
( |
| ) |
const |
|
virtual |
Get/set result for a command.
| virtual void DtLgrAcknowledgePdu::printDataToStream |
( |
std::ostream & |
stream | ) |
const |
|
virtual |
| virtual void DtLgrAcknowledgePdu::setAccepted |
( |
bool |
cmdResult | ) |
|
|
virtual |
The documentation for this class was generated from the following file: