VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSharedModelSetSettings.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef DtSharedModelSetSettings_H_
11 #define DtSharedModelSetSettings_H_
12 
13 #include <vrvCore/vrvCore.h>
15 
16 #include <string>
17 #include <map>
18 
19 
20 namespace makVrv
21 {
25  {
26  public:
27  typedef std::map<int, bool> ModelSetVisualizedMap;
28 
34 
38  static const std::string& className();
39 
41  virtual ~DtSharedModelSetSettings();
42 
43  // set if a model set is visualized
44  void setModelSetVisualized( int modelSet, bool trueOrFalse );
45 
46  // check if a model set is visualized
47  bool modelSetVisualized( int modelSet ) const;
48 
49  //Get the model sets that are currently visualized.
50  const ModelSetVisualizedMap& modelSetVisualizedMap() const;
51 
52  // set, by map
53  void setModelSetVisualizedMap( const ModelSetVisualizedMap&
54  modelSetVisualizedMap );
55 
56 
57  protected:
58 
61 
62  protected:
63 
65 
66 
67 
68  };
69 }
70 
71 #endif
72 
a read settings lock on a setting object. The object can only get read access aka const functions...
Definition: DtReadSettingsLock.h:48
The shared settings manager, is the global object responsible for managing any shared settings object...
Definition: DtSharedSettingsManager.h:42
The base class for all shared settings. Actual settings class should have the following members/decla...
Definition: DtSharedSettings.h:45
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Contains the DtSharedSettings class declaration.
a write settings lock on a setting object. The object can be read and modified, but no other threads ...
Definition: DtWriteSettingsLock.h:47
ModelSetVisualizedMap myModelSetVisualizedMap
Definition: DtSharedModelSetSettings.h:64
The shared model set settings.
Definition: DtSharedModelSetSettings.h:24
std::map< int, bool > ModelSetVisualizedMap
Definition: DtSharedModelSetSettings.h:27
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)