VR-Forces 5.0.3 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 namespace makVrv
18 {
19  class DtElementIDHierarchyNode;
20  class DtTacticalGraphicElement;
21  class DtEntityElement;
22  class DtAggregateElement;
23 
24  namespace DT_PROTOCOL_NAMESPACE
25  {
27  class DtVrlinkAggregateStateListener;
28  class DtVrlinkEnvironmentalStateListenerInterface;
29  }
30 }
31 
32 namespace makVrf
33 {
34  namespace VRF_PROTOCOL_NAMESPACE
35  {
36  class DtVrfEmbarkationHierarchy;
37 
40  {
41  public:
44 
46  virtual ~DtVrfEmbarkationProcessor();
47 
48  protected:
49  virtual void slot_hierarchyItemModified(makVrv::DtElementIDHierarchyNode* node);
50 
51  protected:
52  virtual void slot_entityElementCreated(makVrv::DtEntityElement*);
53  virtual void slot_entityElementAboutToBeDestroyed(makVrv::DtEntityElement*);
54  virtual void setEntityHostGlobalId(makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkEntityStateListener*, const std::string& hostGlobalId);
55 
56  protected:
57  virtual void slot_aggregateElementCreated(makVrv::DtAggregateElement*);
58  virtual void slot_aggregateElementAboutToBeDestroyed(makVrv::DtAggregateElement*);
59  virtual void setAggregateHostGlobalId(makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkAggregateStateListener*, const std::string& hostGlobalId);
60 
61  protected:
62  virtual void slot_tacticalGraphicElementCreated(makVrv::DtTacticalGraphicElement*);
63  virtual void slot_tacticalGraphicElementAboutToBeDestroyed(makVrv::DtTacticalGraphicElement*);
64  virtual void setTacticalGraphicHostGlobalId(makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkEnvironmentalStateListenerInterface*,
65  const std::string& hostGlobalId);
66 
67  protected:
70  virtual void embark(makVrv::DtElementID, const std::string& hostGlobalId, int flags = 0);
71 
73  virtual void disembark(makVrv::DtElementID, int flags = 0);
74 
77  virtual makVrv::DtElementID mapHostGlobalIdToElementId(makVrv::DtElementID id, const std::string& hostGlobalId, int flags = 0);
78 
80  virtual void checkWaitingFor(const std::string& globalId, makVrv::DtElementID id);
81 
83  virtual void removeFromWatchList(makVrv::DtElementID id);
84 
85  protected:
87 
89 
91 
92  typedef std::map<makVrv::DtElementID, int> WatchPair;
93  typedef std::map<std::string, WatchPair> WatchList;
94 
96  };
97  }
98 }
WatchList myWatchList
Definition: vrfEmbarkationProcessor.h:95
#define VRF_PROTOCOL_EXPORT
Definition: vrfProtocol.h:24
A single Aggregate element. An Aggregate element may be visualized using multiple visualizer sets one...
Definition: DtAggregateElement.h:32
std::map< std::string, WatchPair > WatchList
Definition: vrfEmbarkationProcessor.h:93
makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkConnection & mySimulation
Definition: vrfEmbarkationProcessor.h:88
#define DT_PROTOCOL_NAMESPACE
Contains DLL export macros.
Definition: vrfDis.h:17
#define VRF_PROTOCOL_NAMESPACE
Definition: vrfDis.h:18
std::map< makVrv::DtElementID, int > WatchPair
Definition: vrfEmbarkationProcessor.h:92
makVrv::DtSignalConnectionManager myConnections
Definition: vrfEmbarkationProcessor.h:86
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:90
A single entity element. An entity element may be visualized using multiple visualizer sets one per m...
Definition: DtEntityElement.h:32
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:39
The Master Scenario Settings Dialog.
Definition: vrfEmbarkationHierarchy.h:33

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)