VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtVrlinkAggregateElement.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 
16 #include <boost/unordered_map.hpp>
17 
18 namespace makVrv
19 {
20  namespace DT_PROTOCOL_NAMESPACE
21  {
22  class DtVrlinkAggregateStateListener;
23  class DtVrlinkConnection;
24 
29  {
30  public:
31  typedef boost::unordered_map<int, DtAggregateVisualizerSet*> ModelSetMap;
32 
33  public:
34 
37 
39  virtual ~DtVrlinkAggregateElement();
40 
42  DtVrlinkAggregateElement() = delete;
43 
46 
48  DtVrlinkAggregateElement& operator=(const DtVrlinkAggregateElement&) = delete;
49 
50  public:
51 
53  void visualize( const DtSharedModelSetSettings::ModelSetVisualizedMap& sets );
54 
57  virtual void show( DtShowHideContext::ShowHideContext );
58  virtual void hide( DtShowHideContext::ShowHideContext );
60 
63  void setModelSetEnabled( int modelSet, bool enabled );
64 
67  void createVisualizersByModelSetAndType( int modelSet, int visualType );
68 
71  void destroyVisualizersByModelSetAndType( int modelSet, int visualType );
72 
74  virtual void reportDriverType();
75 
78  {
79  return myListener;
80  }
81 
83  virtual void slot_subordinatesChanged() override;
84 
85  boost::signalslib::signal<void( DtVrlinkAggregateElement* )> signal_subordinatesChanged;
86 
87  protected:
88 
90  void damageSet( DtEntityStateListener::DamageState damage );
91 
93  virtual void getDefinitions( std::vector<DtUnicode>& definitions );
94 
96  virtual void determineSubtype();
97 
98  protected:
99 
102  };
103  }
104 }
A single Aggregate element.
Definition: DtAggregateElement.h:29
ShowHideContext
Definition: DtShowHideContext.h:17
#define DL_DLL_IGCONVRLINK
Definition: dllExport.h:26
#define DT_PROTOCOL_NAMESPACE
Make VR-Vantage VRLink code export with library #ifdef DL_DLL_IGCONVRLINK #undef DL_DLL_IGCONVRLINK #...
Definition: export.h:32
DamageState
Definition: DtEntityStateListener.h:88
Contains DLL export macros.
std::map< int, bool > ModelSetVisualizedMap
Definition: DtSharedModelSetSettings.h:27
Contains makVrv::DtAggregateElement class.

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)