12 #ifndef SST_CORE_ELEMENT_H
13 #define SST_CORE_ELEMENT_H
15 #include <sst/core/sst_types.h>
24 #define COMPONENT_CATEGORY_UNCATEGORIZED 0x00
25 #define COMPONENT_CATEGORY_PROCESSOR 0x01
26 #define COMPONENT_CATEGORY_MEMORY 0x02
27 #define COMPONENT_CATEGORY_NETWORK 0x04
28 #define COMPONENT_CATEGORY_SYSTEM 0x08
43 typedef Component* (*componentAllocate)(ComponentId_t, Params&);
44 typedef Introspector* (*introspectorAllocate)(Params&);
45 typedef void (*eventInitialize)(void);
46 typedef Module* (*moduleAllocate)(Params&);
47 typedef Module* (*moduleAllocateWithComponent)(Component*, Params&);
48 typedef SubComponent* (*subcomponentAllocate)(Component*, Params&);
50 typedef void (*generateFunction)(ConfigGraph*, std::string options,
int ranks);
51 typedef void* (*genPythonModuleFunction)(void);
166 #endif // SST_CORE_ELEMENT_H
const ElementInfoStatistic * stats
Definition: element.h:128
Describes an Event.
Definition: element.h:103
void(* printHelp)(FILE *output)
Definition: element.h:125
const char * provides
Definition: element.h:119
Describes a Component and its associated information.
Definition: element.h:80
componentAllocate alloc
Definition: element.h:84
Describes a Partitioner.
Definition: element.h:134
void(* printHelp)(FILE *output)
Definition: element.h:146
const char * description
Definition: element.h:82
const char * defaultValue
Definition: element.h:67
const char * description
Definition: element.h:66
const struct ElementInfoComponent * components
Definition: element.h:155
const char ** validEvents
Definition: element.h:75
uint32_t category
Definition: element.h:87
const char * name
Definition: element.h:81
introspectorAllocate alloc
Definition: element.h:97
Describes all the parts of the Element Library.
Definition: element.h:152
moduleAllocate alloc
Definition: element.h:116
const char * description
Definition: element.h:95
const char * description
Definition: element.h:105
void(* printHelp)(FILE *output)
Definition: element.h:83
const char * name
Definition: element.h:153
const ElementInfoStatistic * stats
Definition: element.h:88
void(* printHelp)(FILE *output)
Definition: element.h:106
const struct ElementInfoPartitioner * partitioners
Definition: element.h:160
Describes Statistics used by a Component.
Definition: element.h:55
Describes a Generator.
Definition: element.h:143
const char * name
Definition: element.h:104
Describes an Introspector.
Definition: element.h:93
void(* printHelp)(FILE *output)
Definition: element.h:137
const char * description
Definition: element.h:74
const char * description
Definition: element.h:136
const char * name
Definition: element.h:65
eventInitialize init
Definition: element.h:107
const ElementInfoParam * params
Definition: element.h:98
const char * name
Definition: element.h:94
const char * name
Definition: element.h:56
const struct ElementInfoModule * modules
Definition: element.h:158
const ElementInfoParam * params
Definition: element.h:127
Describes Parameters to a Component.
Definition: element.h:64
partitionFunction func
Definition: element.h:138
const char * description
Definition: element.h:114
subcomponentAllocate alloc
Definition: element.h:126
const char * description
Definition: element.h:57
moduleAllocateWithComponent alloc_with_comp
Definition: element.h:117
Base class for Partitioning graphs.
Definition: sstpart.h:27
const char * name
Definition: element.h:113
const char * provides
Definition: element.h:129
const struct ElementInfoIntrospector * introspectors
Definition: element.h:157
Describes a Module.
Definition: element.h:112
void(* printHelp)(FILE *output)
Definition: element.h:96
const ElementInfoPort * ports
Definition: element.h:86
genPythonModuleFunction pythonModuleGenerator
Definition: element.h:161
const char * name
Definition: element.h:73
const char * description
Definition: element.h:124
const struct ElementInfoEvent * events
Definition: element.h:156
const uint8_t enableLevel
Definition: element.h:59
const ElementInfoParam * params
Definition: element.h:118
const char * description
Definition: element.h:145
void(* printHelp)(FILE *output)
Definition: element.h:115
const struct ElementInfoSubComponent * subcomponents
Definition: element.h:159
const char * description
Definition: element.h:154
const ElementInfoParam * params
Definition: element.h:85
const char * name
Definition: element.h:135
Describes Ports that the Component can use.
Definition: element.h:72
generateFunction func
Definition: element.h:147
const char * name
Definition: element.h:123
Definition: element.h:122
const struct ElementInfoGenerator * generators
Definition: element.h:162
const char * name
Definition: element.h:144
const char * units
Definition: element.h:58