VR-Forces 4.7 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 
22 // Registers for all DI-Guy updates and prints the current state.
24 {
25 private:
27 
32 
33 public:
34 
35  DtVrfDiGuyPrinter(DtExerciseConn* exConn);
36  virtual ~DtVrfDiGuyPrinter();
37 
38  virtual bool init();
39 
40 protected:
41 
42 #if DtHLA
43 
45 
46  static void diGuyObjectAddedCallback(DtReflectedDIGuyObject* object, void* usr);
47  virtual void processDiGuyObjectAdded(DtReflectedDIGuyObject* object);
49 
51 
52  static void diGuyObjectUpdatedCallback(DtReflectedDIGuyObject* object, void* usr);
53  virtual void processDiGuyObjectUpdated(DtReflectedDIGuyObject* object);
55 
57 
58  static void diGuyObjectRemovedCallback(DtReflectedDIGuyObject* object, void* usr);
59  virtual void processDiGuyObjectRemoved(DtReflectedDIGuyObject* object);
61 
62 #else
63 
65 
66  static void diGuyUpdateCallback(DtDIGuyCustomPdu* pdu, void* usr);
67  virtual void processDiGuyUpdate(DtDIGuyCustomPdu* pdu);
69 
70 #endif
71 
72 protected:
73 
74  DtExerciseConn* myExConn;
75 
76 #if DtHLA
77  DtReflectedDIGuyObjectList* myReflectedDiGuyList;
78 #else
79  DtExtEntityStateRepository* myReflectedEntityStateRep;
80  DtExtDIGuyCustomPduDecoder* myDiGuyDecoder;
81 #endif
82 
83 };
84 

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)