12 #ifndef SST_CORE_COMPONENT_H
13 #define SST_CORE_COMPONENT_H
15 #include <sst/core/sst_types.h>
20 #include <sst/core/baseComponent.h>
21 #include <sst/core/eli/elementinfo.h>
23 using namespace SST::Statistics;
36 SST_ELI_DECLARE_CTOR_EXTERN(ComponentId_t,
SST::Params&)
37 SST_ELI_DECLARE_INFO_EXTERN(
62 bool registerExit() __attribute__ ((deprecated(
"registerExit is deprecated and will be removed in SST version 10.0. Please use registerAsPrimaryComponent() and primaryComponentDoNotEndSim() instead.")));
68 bool unregisterExit() __attribute__ ((deprecated(
"unregisterExit is deprecated and will be removed in SST version 10.0. Please use primaryComponentOKToEndSim() instead.")));
92 void registerAsPrimaryComponent();
101 void primaryComponentDoNotEndSim();
110 void primaryComponentOKToEndSim();
121 #define SST_ELI_REGISTER_COMPONENT(cls,lib,name,version,desc,cat) \
122 SST_ELI_REGISTER_DERIVED(SST::Component,cls,lib,name,ELI_FORWARD_AS_ONE(version),desc) \
123 SST_ELI_CATEGORY_INFO(cat)
125 #endif // SST_CORE_COMPONENT_H
Definition: portsInfo.h:30
Main component object for the simulation.
Definition: component.h:32
Definition: statsInfo.h:27
Definition: paramsInfo.h:28
Main component object for the simulation.
Definition: baseComponent.h:52
Definition: subcompSlotInfo.h:28
Parameter store.
Definition: params.h:45
Definition: categoryInfo.h:10
SubComponent is a class loadable through the factory which allows dynamic functionality to be added t...
Definition: subcomponent.h:30