VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtVrlinkTacticalGraphicElementManager.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvVrl/vrvVrl.h>
13 
14 #include <vl/globalObjectDesignator.h>
15 
17 
18 namespace makVrv
19 {
20  class DtBaseConnection;
21  class DtTacticalGraphicElement;
22 
23  namespace DT_PROTOCOL_NAMESPACE
24  {
25  class DtVrlinkTacticalGraphicStateListener;
26 
34  {
35  public:
38 
41 
44 
47 
50  public:
51 
52  typedef std::unordered_map<std::string, DtTacticalGraphicElement*> GlobalIdToTacticalGraphicElementMap;
53 
54  virtual DtTacticalGraphicElement* findTacticalGraphicElement( const DtGlobalObjectDesignator& id );
55 
56  virtual const GlobalIdToTacticalGraphicElementMap& globalIdToElementMap() const;
57  virtual GlobalIdToTacticalGraphicElementMap& globalIdToElementMap();
58 
61  virtual void addElement( DtTacticalGraphicElement* element ) override;
62 
64  virtual void destroyElement( DtElementID elementID ) override;
65 
66  protected:
67 
68  protected:
70  };
71 
74  {
75  public:
77  virtual DtTacticalGraphicElementManager* create( DtBaseConnection& conn ) override;
78  };
79  }
80 }
The DtTacticalGraphicElementManager is used to create DtTacticalGraphicElements. It maintains a map o...
Definition: DtTacticalGraphicElementManager.h:36
The abstract TacticalGraphic Element Manager creator for the manager class.
Definition: DtTacticalGraphicElementManager.h:161
Contains makVrv::DtTacticalGraphicElementManager class.
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:23
#define DL_DLL_IGCONVRLINK
Definition: dllExport.h:26
The DtBaseConnection is an abstract class.
Definition: DtBaseConnection.h:35
#define DT_PROTOCOL_NAMESPACE
Contains DLL export macros.
Definition: vrfDis.h:17
A single tactical graphic element. A tactical graphic element may be visualized using multiple visual...
Definition: DtTacticalGraphicElement.h:33
Contains DLL export macros.

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)