SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Managers.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 
11 #ifndef smtk_common_Managers_h
12 #define smtk_common_Managers_h
13 
14 #include "smtk/CoreExports.h"
15 #include "smtk/SharedFromThis.h"
16 
17 #include "smtk/common/TypeContainer.h"
18 
19 namespace smtk
20 {
21 namespace common
22 {
23 class SMTKCORE_EXPORT Managers
24  : public TypeContainer
25  , public std::enable_shared_from_this<Managers>
26 {
27 public:
28  typedef TypeContainer Container;
29 
32 
33  ~Managers() override;
34 
35 protected:
36  Managers();
37 };
38 } // namespace common
39 } // namespace smtk
40 
41 #endif
smtk
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
smtk::common::Managers
Definition: Managers.h:23
smtkCreateMacro
#define smtkCreateMacro(...)
Add static create() methods to a class.
Definition: SharedFromThis.h:113
SharedFromThis.h
Macros for dealing with shared-pointer classes.
smtkTypeMacroBase
#define smtkTypeMacroBase(...)
Add typedefs to a class for identifcation.
Definition: SharedFromThis.h:55
smtk::common::TypeContainer
A container for caching and retrieving instances of types.
Definition: TypeContainer.h:35