MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lgrDisSimInput.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef lgrDisSimInput_H_
11 #define lgrDisSimInput_H_
12 
13 #if DtDIS
14 
15 #include <lgrSim/lgrSim.h>
16 #include <lgrCore/lgrSimInput.h>
18 
19 #include <list>
20 
21 class DtPdu;
22 class DtInteraction;
23 
24 namespace MAKLogger
25 {
26 
27  class DtLgrDisSimulationManager;
28  class DtMessageBuffer;
29  class DtSmartBuffer;
30  class DtLgrDisMessageIOInfo;
31 
34  class DT_DLL_LGRSIM DtLgrDisSimInput : public DtLgrSimInput
35  {
36  public:
37 
38  DT_VIRTUAL_CTR(DtLgrDisSimInput,(DtLgrDisSimulationManager* manager))
39 
40  virtual ~DtLgrDisSimInput();
41 
42  private:
44  DtLgrDisSimInput(const DtLgrDisSimInput&);
46  DtLgrDisSimInput& operator=(const DtLgrDisSimInput&);
47 
48  public:
49 
50  virtual void activateImplementation();
51  virtual void deactivateImplementation();
52 
54  virtual void connecting();
55 
57  virtual void disconnecting();
58 
59  virtual const DtMessageIOInfo* info() const;
60 
61  protected:
62 
63  static void receivePduCb(DtPdu* pdu,void* usr);
64  virtual void receivePdu(DtPdu& pdu);
65 
66  virtual void startListening();
67  virtual void stopListening();
68 
69  DtLgrDisSimulationManager* myManager;
70 
71  bool myActivatedFlag;
72  int myReceivedCount;
73 
74  DtLgrDisMessageIOInfo* myInfo;
75 
76  };
77 
78 }
79 
80 #endif
81 #endif
Defines IMPORT/EXPORT macros for lgrSim library.
#define DT_DLL_LGRSIM
Definition: lgrSim.h:21
#define DT_VIRTUAL_CTR(CLASS_NAME, ARG_TYPES_LIST)
Declare a Virtual Constructor Create using DT_VIRTUAL_CTR(CLASS_NAME,ARG_TYPES_LIST) Where CLASS_NAME...
Definition: virtualConstructor.h:34
Contains MAKLogger::DtLgrSimInput subclass of MAKLogger::DtMessageInput.
Contains DT_VIRTUAL_CTR DT_VIRTUAL_CTR_DEFAULTS DT_VIRTUAL_COPY_ASSIGN DT_VIRTUAL_BASE_CTR DT_PURE_VI...
class DT_DLL_MATREX_TSPI_FOM_MAP DtInteraction
Definition: matrexTspiTagModifier.h:20

Document ID: Generated on Thu Sep 2 15:35:22 EDT 2021 from SVN revision 233992
Copyright © 2021 MAK Technologies. All Rights Reserved (www.mak.com)