VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vrlinkStateManager.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 #pragma once
10 
11 #if DtHLA
12 
14 
15 #include <set>
16 
17 class DtExerciseConn;
20 class DtReflectedObject;
23 
29 {
30 public:
32 
33  virtual ~DtVRLinkStateManager();
34 
35  virtual bool isInitialized() const;
36 
37  virtual void add(DtReflectedVRLinkState* vrlObject);
38 
39  virtual void update(DtReflectedVRLinkState* vrlObject);
40 
41  virtual void remove(DtReflectedVRLinkState* vrlObject);
42 
44  virtual void setExecutionStatus(DtVRLExecutionStatus val);
45 
47  virtual DtVRLExecutionStatus executionStatus() const;
48 
50  virtual bool hasVrlStatePub() const;
51 
52 
53 public:
54 
55  static bool isInitialized(DtReflectedVRLinkState* vrlObject);
56 
57 protected:
58 
59  virtual void doPostDrainCb();
60  virtual void doPostDrainInitializeCb();
61 
62 protected:
63 
64  static void vrlUpdateCb(DtReflectedVRLinkState* vrlObject, void* usr);
65 
66  static void vrlAddCb(DtReflectedObject* reflectedObject, void* usr);
67 
68  static void vrlRemoveCb(DtReflectedObject* reflectedObject, void* usr);
69 
70  static void postDrainCb(void* usr);
71  static void postDrainInitializeCb(void* usr);
72 
73 protected:
74 
78  std::set<DtReflectedVRLinkState*> myInitialized;
79  std::set<DtReflectedVRLinkState*> myUninitialized;
80 };
81 
82 #endif
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
class DtReflectedObject:
Definition: reflectedObjectHLA.h:36

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)