MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
legacyHlcInter.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1997 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #ifndef DtLgcyLgrControlInteraction_H_
7 #define DtLgcyLgrControlInteraction_H_
8 
9 #if DtHLA
10 
12 #include <vl/interactionWithEncDec.h>
13 #include "legacyLcPdu.h"
14 
17 
18 
21  void* usr );
22 
26 class DT_DLL_LGCYLGRCNTRL DtLgcyLgrControlInteraction : public DtInteractionWithEncDec
27 {
28 public:
29 
32 
34  virtual ~DtLgcyLgrControlInteraction();
35 
38 
41 
43  virtual void printData() const;
44 
46  virtual inline const DtLgcyLgrControlPdu* lcPdu() const { return myLcPdu; }
47  virtual void setLcPdu( const DtLgcyLgrControlPdu& pdu );
48  virtual void setFromNetPacket( const DtNetPacket* pack );
49 
51  virtual inline const char* name() const { return "DtLgcyLgrControlInteraction"; }
52 
53 public:
54 
57  static DtInteraction* create();
58 
61  static void addCallback( DtExerciseConn* conn,
62  DtLgcyLgrControlInteractionCb cb, void* usr );
63  static void removeCallback( DtExerciseConn* conn,
64  DtLgcyLgrControlInteractionCb cb, void* usr );
65 
66 protected:
67  virtual const char* interactionClassToUse(DtExerciseConn* exConn) const;
68  virtual DtInteractionDecoder* createDecoder(DtExerciseConn* exConn) const;
69  virtual DtInteractionEncoder* createEncoder(DtExerciseConn* exConn) const;
70 
71 
72 protected:
73  DtLgcyLgrControlPdu* myLcPdu;
74 };
75 
76 #endif
77 #endif
void(* DtLgcyLgrControlInteractionCb)(DtLgcyLgrControlInteraction *inter, void *usr)
Definition: legacyLcPdu.h:98
#define DT_DLL_LGCYLGRCNTRL
Include vlconfig.h to get relivant platform info like if we need declspec stuff or not...
Definition: legacyLoggerControlDefines.h:31
Instances of DtLgcyLgrControlPdu are a family of messages used to control a remote instance of the MA...
Definition: legacyLcPdu.h:108
DtLgcyLgrControlPdu DtLgcyLgrControlInteraction
Definition: legacyLcPdu.h:96

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)