Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Attributes

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:

List of all members.

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 &parametersBuffer, int pduSize=theCommandPduSize, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 constructor (construct and prepare for send)
virtual ~DtLgrCommandPdu ()
 destructor
 DtLgrCommandPdu (const DtLgrCommandPdu &src)
 copy constructor
DtLgrCommandPduoperator= (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 &paramsBuffer)
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 DtLgrCommandDataparams () 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

Detailed Description

Instances of DtLgrCommandPdu are to respond to a remote controller with the result of a logger command.


The documentation for this class was generated from the following file:

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)