SST  9.0.0
StructuralSimulationToolkit
componentExtension.h
1 // Copyright 2009-2019 NTESS. Under the terms
2 // of Contract DE-NA0003525 with NTESS, the U.S.
3 // Government retains certain rights in this software.
4 //
5 // Copyright (c) 2009-2019, NTESS
6 // All rights reserved.
7 //
8 // This file is part of the SST software package. For license
9 // information, see the LICENSE file in the top level directory of the
10 // distribution.
11 
12 
13 #ifndef SST_CORE_COMPONENTEXTENSION_H
14 #define SST_CORE_COMPONENTEXTENSION_H
15 
16 #include <sst/core/warnmacros.h>
17 #include <sst/core/baseComponent.h>
18 
19 namespace SST {
20 
21 /**
22  ComponentExtension is a class that can be loaded using
23  loadComponentExtension<T>(...). All the calls to the BaseComponent
24  APIU will act like they are happening in the nearest SubConmponent
25  or Component parent. Hierarchy will not be kept in the case were a
26  ComponentExtension is loaded into a ComponentExtension; they will
27  both act like they are in the parent.
28 */
30 
31 public:
32 
33  ComponentExtension(ComponentId_t id);
34 
35  virtual ~ComponentExtension() {};
36 
37 };
38 
39 } //namespace SST
40 
41 #endif // SST_CORE_COMPONENTEXTENSION_H
ComponentExtension is a class that can be loaded using loadComponentExtension&lt;T&gt;(...).
Definition: componentExtension.h:29
Main component object for the simulation.
Definition: baseComponent.h:52