VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfDiGuyPrinter.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 class DtExerciseConn;
12 
13 #if DtHLA
14 class DtReflectedDIGuyObject;
15 class DtReflectedDIGuyObjectList;
16 #else
18 class DtDIGuyCustomPdu;
20 #endif
21 
23 class DtEvent;
24 
25 // Registers for all DI-Guy updates and prints the current state.
27 {
28 private:
30 
35 
36 public:
37 
39  virtual ~DtVrfDiGuyPrinter();
40 
41  virtual bool init();
42 
43 protected:
44 
45 #if DtHLA
46 
48 
49  static void diGuyObjectAddedCallback(DtReflectedDIGuyObject* object, void* usr);
50  virtual void processDiGuyObjectAdded(DtReflectedDIGuyObject* object);
52 
54 
55  static void diGuyObjectUpdatedCallback(DtReflectedDIGuyObject* object, void* usr);
56  virtual void processDiGuyObjectUpdated(DtReflectedDIGuyObject* object);
58 
60 
61  static void diGuyObjectRemovedCallback(DtReflectedDIGuyObject* object, void* usr);
62  virtual void processDiGuyObjectRemoved(DtReflectedDIGuyObject* object);
64 
65 #else
66 
68 
69  virtual void diGuyUpdateCallback(const DtEvent&);
70  virtual void processDiGuyUpdate(DtDIGuyCustomPdu* pdu);
72 
73 #endif
74 
75 protected:
76 
78 
79 #if DtHLA
80  DtReflectedDIGuyObjectList* myReflectedDiGuyList;
81 #else
82  DtExtEntityStateRepository* myReflectedEntityStateRep;
83  DtExtDIGuyCustomPduDecoder* myDiGuyDecoder;
84 #endif
85 
86 };
87 
virtual ~DtVrfDiGuyPrinter()
virtual bool init()
DtNetworkEventManager * myEventManager
Definition: vrfDiGuyPrinter.h:77
virtual void processDiGuyObjectRemoved(DtReflectedDIGuyObject *object)
Definition: vrfDiGuyPrinter.h:26
Definition: events.h:47
DtVrfDiGuyPrinter & operator=(const DtVrfDiGuyPrinter &orig)
virtual void processDiGuyObjectAdded(DtReflectedDIGuyObject *object)
Definition: networkEventManager.h:40
DtExtEntityStateRepository class extends the DtExtEntityBaseStateRepository to be able to handle exte...
Definition: extEntityStateRepository.h:25
static void diGuyObjectRemovedCallback(DtReflectedDIGuyObject *object, void *usr)
Callback for the removal of DI-Guy objects.
static void diGuyObjectAddedCallback(DtReflectedDIGuyObject *object, void *usr)
Callback for the addition of new DI-Guy objects.
virtual void processDiGuyObjectUpdated(DtReflectedDIGuyObject *object)
DtVrfDiGuyPrinter()
Not implemented.
static void diGuyObjectUpdatedCallback(DtReflectedDIGuyObject *object, void *usr)
Callback for the update of DI-Guy objects.
Definition: extDiGuyCustomPduDecoder.h:53
DtReflectedDIGuyObjectList * myReflectedDiGuyList
Definition: vrfDiGuyPrinter.h:80

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)