VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtVrlinkRadioCommLineVisualizer.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2021 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvVrl/vrvVrl.h>
13 
15 
17 
18 #include <vl/signalInteraction.h>
19 
20 #include <set>
21 
22 namespace makVrv
23 {
24  class DtEntityElement;
25 
26  namespace DT_PROTOCOL_NAMESPACE
27  {
28 
29  class DtVrlinkEntityElement;
30  class DtVrlinkConnection;
32  class DtVrlinkRadioCommLineListener;
33 
39  {
40  public:
41 
49  DtStateListener& communicationListener, int modelSet );
50 
58  DtStateListener& communicationListener, DtSceneObjectAgent* sceneObject, int modelSet );
59 
63 
64  protected:
65 
69  virtual void createModelAgents();
70 
72  virtual void destroyModelAgents();
73 
77  virtual void slot_elementCreated( DtEntityElement* elem );
78 
82  virtual void slot_colorizationChanged();
83 
86  virtual void getCommLineColor( float& r, float& g, float& b );
87 
90  virtual DtVector getOffsetForEntityType( const DtEntityType& type );
91 
94  virtual void setInitialValuesFromVisualizerDefinition() override;
95 
96  protected:
97 
101  struct EntityPair {
102 
104  EntityPair( DtGlobalObjectDesignator entity1,
105  DtGlobalObjectDesignator entity2 );
106 
109  bool operator < ( const EntityPair& other ) const;
110 
111  DtGlobalObjectDesignator entity1;
112  DtGlobalObjectDesignator entity2;
113 
114  };
115 
116  protected:
117 
119  typedef std::set<EntityPair> PendingCommLinesSet;
120 
122 
124 
126 
128 
131 
133 
135 
136  unsigned short myStipplePattern;
138 
139  };
140 
141 
144  }
145 }
Definition: DtStateVisualizer.h:305
#define DL_DLL_IGCONVRLINK
Definition: dllExport.h:26
The DtBaseConnection is an abstract class.
Definition: DtBaseConnection.h:38
DtStateVisualizerCreatorTemplate< DtVrlinkRadioCommLineVisualizer > DtVrlinkRadioCommLineVisualizerCreator
Definition: DtVrlinkRadioCommLineVisualizer.h:143
#define DT_PROTOCOL_NAMESPACE
Contains DLL export macros.
Definition: vrfDis.h:17
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
Protocol independent radio communication visualizer.
Definition: DtRadioCommLineVisualizer.h:22
A single entity element. An entity element may be visualized using multiple visualizer sets one per m...
Definition: DtEntityElement.h:32
Base class to provide boost signal/slot management.
Contains the DtRadioCommLineVisualizer class declaration.
The DtStateListener is an abstract class. Subclasses implement functionality that will allow data to ...
Definition: DtStateListener.h:25
Contains DLL export macros.

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)