VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfEmbarkationProcessor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
16 
17 #include <boost/signals2.hpp>
18 
19 namespace makVrv
20 {
21  class DtElementIDHierarchyNode;
22  class DtTacticalGraphicElement;
23  class DtEntityElement;
24  class DtElement;
25  class DtAggregateElement;
26 
27  namespace DT_PROTOCOL_NAMESPACE
28  {
30  class DtVrlinkAggregateStateListener;
31  class DtVrlinkEnvironmentalStateListenerInterface;
32  }
33 }
34 
35 namespace makVrf
36 {
37  namespace VRF_PROTOCOL_NAMESPACE
38  {
39  class DtVrfEmbarkationHierarchy;
40 
43  {
44  public:
47 
49  virtual ~DtVrfEmbarkationProcessor();
50 
51  protected:
52  virtual void slot_hierarchyItemModified(makVrv::DtElementIDHierarchyNode* node);
53 
54  protected:
55  virtual void slot_entityElementCreated(makVrv::DtEntityElement*);
56  virtual void slot_entityElementAboutToBeDestroyed(makVrv::DtEntityElement*);
57  virtual void setEntityHostGlobalId(makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkEntityStateListener*, makVrv::DtElement* parentElement);
58 
59  protected:
60  virtual void slot_aggregateElementCreated(makVrv::DtAggregateElement*);
61  virtual void slot_aggregateElementAboutToBeDestroyed(makVrv::DtAggregateElement*);
62  virtual void setAggregateHostGlobalId(makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkAggregateStateListener*, makVrv::DtElement* parentElement);
63 
64  protected:
65  virtual void slot_tacticalGraphicElementCreated(makVrv::DtTacticalGraphicElement*);
66  virtual void slot_tacticalGraphicElementAboutToBeDestroyed(makVrv::DtTacticalGraphicElement*);
67  virtual void setTacticalGraphicHostGlobalId(makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkEnvironmentalStateListenerInterface*,
68  std::string hostGlobalId);
70  makVrv::DtElement* newHost);
71 
72  protected:
75  virtual void embark(makVrv::DtElementID, makVrv::DtElementID hostID, int flags = 0);
76 
78  virtual void disembark(makVrv::DtElementID, int flags = 0);
79 
82  virtual makVrv::DtElementID mapHostGlobalIdToElementId(makVrv::DtElementID id, const std::string& hostGlobalId, int flags = 0);
83 
85  virtual void checkWaitingFor(const std::string& globalId, makVrv::DtElementID id);
86 
88  virtual void removeFromWatchList(makVrv::DtElementID id);
89 
90  protected:
92 
94 
96 
97  typedef std::map<makVrv::DtElementID, int> WatchPair;
98  typedef std::map<std::string, WatchPair> WatchList;
99 
101 
102  typedef std::map<makVrv::DtElementID, boost::signals2::connection> SignalConnectionMap;
104  };
105  }
106 }
WatchList myWatchList
Definition: vrfEmbarkationProcessor.h:100
SignalConnectionMap mySignalConnectionMap
Definition: vrfEmbarkationProcessor.h:103
#define VRF_PROTOCOL_EXPORT
Definition: vrfProtocol.h:21
A single Aggregate element. An Aggregate element may be visualized using multiple visualizer sets one...
Definition: DtAggregateElement.h:32
std::map< makVrv::DtElementID, boost::signals2::connection > SignalConnectionMap
Definition: vrfEmbarkationProcessor.h:102
std::map< std::string, WatchPair > WatchList
Definition: vrfEmbarkationProcessor.h:98
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:23
makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkConnection & mySimulation
Definition: vrfEmbarkationProcessor.h:93
The DtElement class implements the common behavior of simulation based elements added to the scene...
Definition: DtElement.h:44
#define DT_PROTOCOL_NAMESPACE
Contains defines and includes header files for protocols.
Definition: vrfProtocol.h:13
#define VRF_PROTOCOL_NAMESPACE
Contains DLL export macros.
Definition: vrfDis.h:14
std::map< makVrv::DtElementID, int > WatchPair
Definition: vrfEmbarkationProcessor.h:97
makVrv::DtSignalConnectionManager myConnections
Definition: vrfEmbarkationProcessor.h:91
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
The DtElementIDHierarchyNode class will contain information about an element, its children and its pa...
Definition: DtElementIDHierarchy.h:33
Contains makVrv::DtVisualizerCreationSettings class.
DtVrfEmbarkationHierarchy & myEmbarkationHierarchy
Definition: vrfEmbarkationProcessor.h:95
A single entity element. An entity element may be visualized using multiple visualizer sets one per m...
Definition: DtEntityElement.h:33
A single tactical graphic element. A tactical graphic element may be visualized using multiple visual...
Definition: DtTacticalGraphicElement.h:35
Base class to provide boost signal/slot management.
The protocol specific processor for entity sim data.
Definition: vrfEmbarkationProcessor.h:42
Definition: vrfEmbarkationHierarchy.h:29

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)