SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Registrar.h
1 //=========================================================================
2 // Copyright (c) Kitware, Inc.
3 // All rights reserved.
4 // See LICENSE.txt for details.
5 //
6 // This software is distributed WITHOUT ANY WARRANTY; without even
7 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8 // PURPOSE. See the above copyright notice for more information.
9 //=========================================================================
10 #ifndef smtk_attribute_Registrar_h
11 #define smtk_attribute_Registrar_h
12 
13 #include "smtk/CoreExports.h"
14 
15 #include "smtk/attribute/AssociationRuleManager.h"
16 #include "smtk/attribute/EvaluatorManager.h"
17 #include "smtk/common/Managers.h"
18 #include "smtk/operation/Manager.h"
19 #include "smtk/resource/Manager.h"
20 
21 namespace smtk
22 {
23 namespace attribute
24 {
25 class SMTKCORE_EXPORT Registrar
26 {
27 public:
28  static void registerTo(const smtk::common::Managers::Ptr&);
29  static void unregisterFrom(const smtk::common::Managers::Ptr&);
30 
31  static void registerTo(const smtk::attribute::AssociationRuleManager::Ptr&);
32  static void unregisterFrom(const smtk::attribute::AssociationRuleManager::Ptr&);
33 
34  static void registerTo(const smtk::operation::Manager::Ptr&);
35  static void unregisterFrom(const smtk::operation::Manager::Ptr&);
36 
37  static void registerTo(const smtk::resource::Manager::Ptr&);
38  static void unregisterFrom(const smtk::resource::Manager::Ptr&);
39 
40  static void registerTo(const smtk::attribute::EvaluatorManager::Ptr&);
41  static void unregisterFrom(const smtk::attribute::EvaluatorManager::Ptr&);
42 };
43 } // namespace attribute
44 } // namespace smtk
45 
46 #endif
smtk
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
smtk::attribute::Registrar
Definition: Registrar.h:25