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

Instances of DtLgrControlPdu are a family of messages used to control a remote instance of the MAK-Logger over the network. More...

+ Inheritance diagram for DtLgrControlPdu:
+ Collaboration diagram for DtLgrControlPdu:

List of all members.

Public Member Functions

 DtLgrControlPdu (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER, int pduSize=sizeof(DtNetLgrControlPdu))
 (default) constructor
 DtLgrControlPdu (const DtNetLgrControlPdu *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 constructor (constructs from network representation)
virtual ~DtLgrControlPdu ()
 destructor
 DtLgrControlPdu (const DtLgrControlPdu &src)
 copy constructor
DtLgrControlPduoperator= (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 DtU32 sequence () const
 Get/set sequence number.
virtual void setSequence (DtU32 sequenceNumber)
virtual void printDataToStream (std::ostream &stream) const
 Print contents.

Static Public Member Functions

static DtPdu * create (const DtNetPacket *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 Create a PDU representation from a network packet.
static DtLgrControlPducreate (DtLgrCommand command)
 Create a PDU from DtLgrCommand.
static DtLgrControlPducreate (DtLgrCommandExt command)
 Create a PDU from DtLgrCommandExt.
static void addCallback (DtExerciseConn *conn, DtLgrControlInteractionCb cb, void *usr)
 DIS -- install/remove handler to call when receiving a LC packet.
static void removeCallback (DtExerciseConn *conn, DtLgrControlInteractionCb cb, void *usr)
static DtU16 addressWildcard ()
 Wildcard value for addresses.
static const DtEntityIdentifier & wildcardAddress ()
 Wildcard address.
static const char * lgrModeEnum2string (DtLgrMode md)
 The name (as a string) of a 'DtLgrMode'-type enum (from value)
static const char * lgrFilePosEnum2string (DtLgrFilePosition pos)
 The name (as a string) of a 'DtLgrFilePosition'-type enum (from value)
static const char * lgrStateFlag2string (DtLgrCtrlFlagStates flg)
 The name (as a string) of a 'DtLgrCtrlFlagStates'-type enum (from value)

Protected Member Functions

virtual void setLgrCommand (DtLgrCommand com)
 Set is done by constructing the proper subclass.
virtual void setLgrCommand (DtLgrCommandExt com)
 Set is done by constructing the proper subclass.
virtual DtNetLgrControlPducontrolHeader ()
 Access to the payload as control pdu header.
virtual DtNetLgrControlPducontrolHeader () const
 Access to the payload as control pdu header.
DtPduKind internalGetPduKind () const
 Identity for use by toolkit.

Protected Attributes

DtEntityIdentifier mySenderId
 Parameter.
DtEntityIdentifier myReceiverId

Static Protected Attributes

static const DtU16 theAddressWildcard = ((1<<16)-1)
static const DtEntityIdentifier theWildcardAddress

Detailed Description

Instances of DtLgrControlPdu are a family of messages used to control a remote instance of the MAK-Logger over the network.

See lc*.h.


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)