SST  13.1.0
Structural Simulation Toolkit
coreTest_Module.h
1 // Copyright 2009-2023 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-2023, 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 #ifndef SST_CORE_CORETEST_MODULE_H
13 #define SST_CORE_CORETEST_MODULE_H
14 
15 #include "sst/core/component.h"
16 #include "sst/core/link.h"
17 #include "sst/core/module.h"
18 
19 #include <vector>
20 
21 namespace SST {
22 namespace CoreTestModule {
23 
25 {
26 
27 public:
29 
30  SST_ELI_REGISTER_MODULE_API(SST::CoreTestModule::CoreTestModuleExample)
31 
32  SST_ELI_REGISTER_MODULE(
33  CoreTestModuleExample, "coreTestElement", "CoreTestModule", SST_ELI_ELEMENT_VERSION(1, 0, 0),
34  "CoreTest module to demonstrate interface.", SST::CoreTestModule::CoreTestModuleExample)
35 
36  SST_ELI_DOCUMENT_PARAMS(
37  {"modulename", "Name to give this module", ""},
38  )
39 
40  void printName();
41 
42 private:
43  std::string modName;
44 };
45 
46 } // namespace CoreTestModule
47 } // namespace SST
48 
49 #endif // SST_CORE_CORETEST_MODULE_H
Definition: coreTest_Module.h:25
Module is a tag class used with the loadModule function.
Definition: module.h:22
Parameter store.
Definition: params.h:56