Instances of DtLgrConnectPdu are used to convey to a remote logger- controller the total current state of a logger instance.
More...
Public Member Functions |
| | DtLgrConnectPdu (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| | (default) constructor
|
| | DtLgrConnectPdu (const DtNetLgrControlPdu *, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER, DtPduFactory *pduFactory=0) |
| | Construct from network representation.
|
| | DtLgrConnectPdu (const DtEntityIdentifier &sender, const DtEntityIdentifier &receiver, const DtString &name, DtLgrProtocol protocol, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| | Construct and prepare for send.
|
| virtual | ~DtLgrConnectPdu () |
| | Destructor.
|
| | DtLgrConnectPdu (const DtLgrConnectPdu &) |
| | Copy constructor.
|
| DtLgrConnectPdu & | operator= (const DtLgrConnectPdu &) |
| | Assignment operator.
|
| virtual const char * | loggerName () const |
| virtual void | setLoggerName (const DtString &name) |
| virtual DtLgrProtocol | protocol () const |
| virtual void | setProtocol (DtLgrProtocol protocolNumber) |
| 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 DtLgrConnectPdu are used to convey to a remote logger- controller the total current state of a logger instance.
Constructor & Destructor Documentation
| DtLgrConnectPdu::DtLgrConnectPdu |
( |
DtBufferPtr |
buffer = DtUSE_INTERNAL_BUFFER | ) |
|
| DtLgrConnectPdu::DtLgrConnectPdu |
( |
const DtNetLgrControlPdu * |
, |
|
|
DtBufferPtr |
buffer = DtUSE_INTERNAL_BUFFER, |
|
|
DtPduFactory * |
pduFactory = 0 |
|
) |
| |
Construct from network representation.
| DtLgrConnectPdu::DtLgrConnectPdu |
( |
const DtEntityIdentifier & |
sender, |
|
|
const DtEntityIdentifier & |
receiver, |
|
|
const DtString & |
name, |
|
|
DtLgrProtocol |
protocol, |
|
|
DtBufferPtr |
buffer = DtUSE_INTERNAL_BUFFER |
|
) |
| |
Construct and prepare for send.
| virtual DtLgrConnectPdu::~DtLgrConnectPdu |
( |
| ) |
|
|
virtual |
Member Function Documentation
| void DtLgrConnectPdu::initData |
( |
| ) |
|
|
protected |
Used by constructors and such...
| virtual const char* DtLgrConnectPdu::loggerName |
( |
| ) |
const |
|
virtual |
| virtual void DtLgrConnectPdu::printDataToStream |
( |
std::ostream & |
stream | ) |
const |
|
virtual |
| virtual void DtLgrConnectPdu::setLoggerName |
( |
const DtString & |
name | ) |
|
|
virtual |
| virtual void DtLgrConnectPdu::setProtocol |
( |
DtLgrProtocol |
protocolNumber | ) |
|
|
virtual |
The documentation for this class was generated from the following file: