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_view_Registrar_h
11 #define smtk_view_Registrar_h
12 
13 #include "smtk/CoreExports.h"
14 
15 #include "smtk/common/Managers.h"
16 #include "smtk/view/Manager.h"
17 
18 namespace smtk
19 {
20 namespace view
21 {
22 class SMTKCORE_EXPORT Registrar
23 {
24 public:
25  static void registerTo(const smtk::common::Managers::Ptr&);
26  static void unregisterFrom(const smtk::common::Managers::Ptr&);
27 
28  static void registerTo(const smtk::view::Manager::Ptr&);
29  static void unregisterFrom(const smtk::view::Manager::Ptr&);
30 };
31 } // namespace view
32 } // namespace smtk
33 
34 #endif
smtk
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
smtk::view::Registrar
Definition: Registrar.h:22