VR-Forces 4.7 Class Documentation
 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) 2014 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvVrl/vrvVrl.h>
13 
15 
16 #include <vl/signalInteraction.h>
17 
18 #include <set>
19 
20 namespace makVrv
21 {
22 
23  namespace DT_PROTOCOL_NAMESPACE
24  {
25 
26  class DtEntityElement;
27  class DtVrlinkConnection;
29  class DtVrlinkRadioCommLineListener;
30 
36  {
37  public:
38 
46  DtStateListener& communicationListener, int modelSet );
47 
51 
53  virtual void setLifetime(float);
54 
55  protected:
56 
60  virtual void createModelAgents();
61 
63  virtual void destroyModelAgents();
64 
68  virtual void slot_elementCreated( DtVrlinkEntityStateListener& listener,
69  DtEntityElement* elem );
70 
74  virtual void slot_colorizationChanged();
75 
78  virtual void getCommLineColor( float& r, float& g, float& b );
79 
82  virtual DtVector getOffsetForEntityType( const DtEntityType& type );
83 
85  virtual void setVisualizerDefinition( const DtVisualizerDefinition& vDef );
86 
87  protected:
88 
92  struct EntityPair {
93 
96  DtGlobalObjectDesignator entity2 );
97 
100  bool operator < ( const EntityPair& other ) const;
101 
104 
105  };
106 
107  protected:
108 
110  typedef std::set<EntityPair> PendingCommLinesSet;
111 
113 
115 
117 
120 
123 
125 
127  float myLifetime;
128 
129  };
130 
131 
134  }
135 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)