6 #ifndef DtLgcyLgrControlPdu_H_
7 #define DtLgcyLgrControlPdu_H_
11 #include <vlutil/vlMachineTypes.h>
12 #include <vlutil/vlPrintUtil.h>
13 #include <matrix/LibMatrix.h>
14 #include <matrix/vlMath.h>
15 #include <vlpi/parseEnum.h>
16 #include <vl/interaction.h>
17 #include <vl/exerciseConn.h>
18 #include <vl/hostStructs.h>
118 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0 );
130 static DtPdu*
create(
const DtNetPacket* initial,
131 DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0 );
145 const DtGlobalObjectDesignator&
receiverId()
const;
146 virtual void setReceiverId(
const DtGlobalObjectDesignator&
id );
149 virtual const DtGlobalObjectDesignator&
senderId()
const;
150 virtual void setSenderId(
const DtGlobalObjectDesignator&
id );
Definition: legacyLcPdu.h:27
void setLgrCommand(DtLgrCommand com)
Set is done by constructing the proper subclass.
void(* DtLgcyLgrControlInteractionCb)(DtLgcyLgrControlInteraction *inter, void *usr)
Definition: legacyLcPdu.h:98
Definition: legacyLcPdu.h:49
Definition: legacyLcPdu.h:31
DtLgcyLgrCommandExt
Definition: legacyLcPdu.h:85
DtNetLgcyLgrControlParams * defaultParams() const
Data place holder.
Definition: legacyLcPdu.h:51
Definition: legacyLcPdu.h:42
Definition: legacyLcPdu.h:67
DtLgcyLgrDirection
Play forwards or backwards when in LGR_PLAY mode.
Definition: legacyLcPdu.h:37
static const char * lgrStateFlag2string(DtLgcyLgrCtrlFlagStates flg)
The name (as a string) of a 'DtLgcyLgrCtrlFlagStates'-type enum (from value)
Definition: legacyLgrControlP.h:58
#define DT_DLL_LGCYLGRCNTRL
Include vlconfig.h to get relivant platform info like if we need declspec stuff or not...
Definition: legacyLoggerControlDefines.h:31
DtPduKind internalGetPduKind() const
Identity for use by toolkit.
Definition: legacyLcPdu.h:172
const DtGlobalObjectDesignator & receiverId() const
Get/set Object Identifier of intended recipient (logger).
Definition: legacyLcPdu.h:76
Definition: legacyLcPdu.h:41
Instances of DtLgcyLgrControlPdu are a family of messages used to control a remote instance of the MA...
Definition: legacyLcPdu.h:108
Definition: legacyLgrControlP.h:45
static DtPdu * create(const DtNetPacket *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER, DtPduFactory *pduFactory=0)
Create a PDU representation from a network packet.
Definition: legacyLcPdu.h:68
Definition: legacyLcPdu.h:52
DtLgcyLgrMode
Definition: legacyLcPdu.h:25
Definition: legacyLcPdu.h:32
DtLgcyLgrControlPdu DtLgcyLgrControlInteraction
Definition: legacyLcPdu.h:96
class DT_DLL_LGCYLGRCNTRL DtLgcyLgrControlPdu
Definition: legacyLcPdu.h:94
virtual void printData() const
Print contents.
virtual void setReceiverId(const DtGlobalObjectDesignator &id)
Definition: legacyLcPdu.h:78
DtLgcyLgrCtrlFlagStates
Controlling runtime-settable flags and options of the Logger.
Definition: legacyLcPdu.h:73
Definition: legacyLcPdu.h:77
static void addCallback(DtExerciseConn *conn, DtLgcyLgrControlInteractionCb cb, void *usr)
DIS – install/remove handler to call when receiving a LC packet.
DtLgcyLgrStyle
Definition: legacyLcPdu.h:56
DtLgcyLgrControlPdu & operator=(const DtLgcyLgrControlPdu &src)
assignment operator
DtGlobalObjectDesignator myReceiverId
Definition: legacyLcPdu.h:180
Definition: legacyLcPdu.h:75
DtLgcyLgrProcess
Receiving application may filter lcPdu based on this start-up flag.
Definition: legacyLcPdu.h:64
Definition: legacyLcPdu.h:66
Definition: legacyLcPdu.h:28
static void removeCallback(DtExerciseConn *conn, DtLgcyLgrControlInteractionCb cb, void *usr)
Definition: legacyLcPdu.h:79
Definition: legacyLcPdu.h:29
Definition: legacyLcPdu.h:59
Definition: legacyLcPdu.h:58
Definition: legacyLcPdu.h:50
virtual ~DtLgcyLgrControlPdu()
destructor
static const char * lgrFilePosEnum2string(DtLgcyLgrFilePosition pos)
The name (as a string) of a 'DtLgcyLgrFilePosition'-type enum (from value)
Definition: legacyLcPdu.h:82
Definition: legacyLcPdu.h:39
DtLgcyLgrFilePosition
Location status.
Definition: legacyLcPdu.h:47
DtGlobalObjectDesignator mySenderId
Parameter.
Definition: legacyLcPdu.h:179
Definition: legacyLcPdu.h:81
Definition: legacyLcPdu.h:40
static const char * lgrModeEnum2string(DtLgcyLgrMode md)
The name (as a string) of a 'DtLgcyLgrMode'-type enum (from value)
Definition: legacyLcPdu.h:80
DtLgrCommand lgrCommand() const
Get message-type for proper casting to a subclass.
Definition: legacyLcPdu.h:87
virtual const DtGlobalObjectDesignator & senderId() const
Get/set Object Identifier of sender, if applicable.
virtual void setSenderId(const DtGlobalObjectDesignator &id)
Definition: legacyLcPdu.h:30