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 namespace makVrv
18 {
19  class DtElementIDHierarchyNode;
20  class DtTacticalGraphicElement;
21  class DtEntityElement;
22  class DtElement;
23  class DtAggregateElement;
24 
25  namespace DT_PROTOCOL_NAMESPACE
26  {
28  class DtVrlinkAggregateStateListener;
29  class DtVrlinkEnvironmentalStateListenerInterface;
30  }
31 }
32 
33 namespace makVrf
34 {
35  namespace VRF_PROTOCOL_NAMESPACE
36  {
37  class DtVrfEmbarkationHierarchy;
38 
41  {
42  public:
45 
47  virtual ~DtVrfEmbarkationProcessor();
48 
49  protected:
50  virtual void slot_hierarchyItemModified(makVrv::DtElementIDHierarchyNode* node);
51 
52  protected:
53  virtual void slot_entityElementCreated(makVrv::DtEntityElement*);
54  virtual void slot_entityElementAboutToBeDestroyed(makVrv::DtEntityElement*);
55  virtual void setEntityHostGlobalId(makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkEntityStateListener*, makVrv::DtElement* parentElement);
56 
57  protected:
58  virtual void slot_aggregateElementCreated(makVrv::DtAggregateElement*);
59  virtual void slot_aggregateElementAboutToBeDestroyed(makVrv::DtAggregateElement*);
60  virtual void setAggregateHostGlobalId(makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkAggregateStateListener*, makVrv::DtElement* parentElement);
61 
62  protected:
63  virtual void slot_tacticalGraphicElementCreated(makVrv::DtTacticalGraphicElement*);
64  virtual void slot_tacticalGraphicElementAboutToBeDestroyed(makVrv::DtTacticalGraphicElement*);
65  virtual void setTacticalGraphicHostGlobalId(makVrv::DT_PROTOCOL_NAMESPACE::DtVrlinkEnvironmentalStateListenerInterface*,
66  std::string hostGlobalId);
68  makVrv::DtElement* newHost);
69 
70  protected:
73  virtual void embark(makVrv::DtElementID, makVrv::DtElementID hostID, int flags = 0);
74 
76  virtual void disembark(makVrv::DtElementID, int flags = 0);
77 
80  virtual makVrv::DtElementID mapHostGlobalIdToElementId(makVrv::DtElementID id, const std::string& hostGlobalId, int flags = 0);
81 
83  virtual void checkWaitingFor(const std::string& globalId, makVrv::DtElementID id);
84 
86  virtual void removeFromWatchList(makVrv::DtElementID id);
87 
88  protected:
90 
92 
94 
95  typedef std::map<makVrv::DtElementID, int> WatchPair;
96  typedef std::map<std::string, WatchPair> WatchList;
97 
99  };
100  }
101 }
WatchList myWatchList
Definition: vrfEmbarkationProcessor.h:98
#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:96
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:91
The DtElement class implements the common behavior of simulation based elements added to the scene...
Definition: DtElement.h:44
#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:95
makVrv::DtSignalConnectionManager myConnections
Definition: vrfEmbarkationProcessor.h:89
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:93
A single entity element. An entity element may be visualized using multiple visualizer sets one per m...
Definition: DtEntityElement.h:31
A single tactical graphic element. A tactical graphic element may be visualized using multiple visual...
Definition: DtTacticalGraphicElement.h:33
Base class to provide boost signal/slot management.
The protocol specific processor for entity sim data.
Definition: vrfEmbarkationProcessor.h:40
The Master Scenario Settings Dialog.
Definition: vrfEmbarkationHierarchy.h:30

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)