MAK Data Logger API Documentation for HLA
List of all members | Public Member Functions | Private Attributes
DtLgcyLgrRecordActionPdu Class Reference

Instances of DtLgcyLgrRecordActionPdu are to tell a remote logger to stop or begin recording when entering record-mode. More...

+ Inheritance diagram for DtLgcyLgrRecordActionPdu:
+ Collaboration diagram for DtLgcyLgrRecordActionPdu:

Public Member Functions

 DtLgcyLgrRecordActionPdu (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 (default) constructor
 DtLgcyLgrRecordActionPdu (const DtNetLgcyLgrControlPdu *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 constructor (construct from network representation)
 DtLgcyLgrRecordActionPdu (DtGlobalObjectDesignator &sender, DtGlobalObjectDesignator &receiver, DtLgcyLgrMode mode, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 constructor (construct and prepare for send)
virtual ~DtLgcyLgrRecordActionPdu ()
 destructor
 DtLgcyLgrRecordActionPdu (const DtLgcyLgrRecordActionPdu &src)
 copy constructor
DtLgcyLgrRecordActionPduoperator= (const DtLgcyLgrRecordActionPdu &src)
 assignment operator
virtual DtLgcyLgrMode action () const
 Set/get action to take when switching to record-mode.
virtual void setAction (DtLgcyLgrMode cmd)
virtual DtLgcyLgrIntParamsparams () const
 Return correctly casted parameters pointer; see legacyLgrControlP.h.
- Public Member Functions inherited from DtLgcyLgrControlPdu
 DtLgcyLgrControlPdu (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 (default) constructor
 DtLgcyLgrControlPdu (const DtNetLgcyLgrControlPdu *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER, DtPduFactory *pduFactory=0)
 constructor (constructs from network representation)
virtual ~DtLgcyLgrControlPdu ()
 destructor
 DtLgcyLgrControlPdu (const DtLgcyLgrControlPdu &src)
 copy constructor
DtLgcyLgrControlPduoperator= (const DtLgcyLgrControlPdu &src)
 assignment operator
const DtGlobalObjectDesignator & receiverId () const
 Get/set Object Identifier of intended recipient (logger).
virtual void setReceiverId (const DtGlobalObjectDesignator &id)
virtual const
DtGlobalObjectDesignator & 
senderId () const
 Get/set Object Identifier of sender, if applicable.
virtual void setSenderId (const DtGlobalObjectDesignator &id)
DtLgrCommand lgrCommand () const
 Get message-type for proper casting to a subclass.
DtNetLgcyLgrControlParamsdefaultParams () const
 Data place holder.
virtual void printData () const
 Print contents.

Private Attributes

DtLgcyLgrMode myAction
 Parameter.

Additional Inherited Members

- Static Public Member Functions inherited from DtLgcyLgrControlPdu
static DtPducreate (const DtNetPacket *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER, DtPduFactory *pduFactory=0)
 Create a PDU representation from a network packet.
static DtLgcyLgrControlPducreate (DtLgrCommand command)
 Create a PDU from DtLgrCommand.
static const char * lgrModeEnum2string (DtLgcyLgrMode md)
 The name (as a string) of a 'DtLgcyLgrMode'-type enum (from value)
static const char * lgrFilePosEnum2string (DtLgcyLgrFilePosition pos)
 The name (as a string) of a 'DtLgcyLgrFilePosition'-type enum (from value)
static const char * lgrStateFlag2string (DtLgcyLgrCtrlFlagStates flg)
 The name (as a string) of a 'DtLgcyLgrCtrlFlagStates'-type enum (from value)
- Protected Member Functions inherited from DtLgcyLgrControlPdu
DtPduKind internalGetPduKind () const
 Identity for use by toolkit.
void setLgrCommand (DtLgrCommand com)
 Set is done by constructing the proper subclass.

Detailed Description

Instances of DtLgcyLgrRecordActionPdu are to tell a remote logger to stop or begin recording when entering record-mode.

Constructor & Destructor Documentation

DtLgcyLgrRecordActionPdu::DtLgcyLgrRecordActionPdu ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)

(default) constructor

DtLgcyLgrRecordActionPdu::DtLgcyLgrRecordActionPdu ( const DtNetLgcyLgrControlPdu initial,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)

constructor (construct from network representation)

DtLgcyLgrRecordActionPdu::DtLgcyLgrRecordActionPdu ( DtGlobalObjectDesignator &  sender,
DtGlobalObjectDesignator &  receiver,
DtLgcyLgrMode  mode,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER 
)

constructor (construct and prepare for send)

virtual DtLgcyLgrRecordActionPdu::~DtLgcyLgrRecordActionPdu ( )
virtual

destructor

DtLgcyLgrRecordActionPdu::DtLgcyLgrRecordActionPdu ( const DtLgcyLgrRecordActionPdu src)

copy constructor

Member Function Documentation

virtual DtLgcyLgrMode DtLgcyLgrRecordActionPdu::action ( ) const
virtual

Set/get action to take when switching to record-mode.

DtLgcyLgrRecordActionPdu& DtLgcyLgrRecordActionPdu::operator= ( const DtLgcyLgrRecordActionPdu src)

assignment operator

virtual DtLgcyLgrIntParams* DtLgcyLgrRecordActionPdu::params ( ) const
virtual

Return correctly casted parameters pointer; see legacyLgrControlP.h.

virtual void DtLgcyLgrRecordActionPdu::setAction ( DtLgcyLgrMode  cmd)
virtual

Member Data Documentation

DtLgcyLgrMode DtLgcyLgrRecordActionPdu::myAction
private

Parameter.


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

Document ID: Generated on Mon Jan 19 08:20:14 EST 2015 from SVN revision 149581
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)