SST  11.0.0
StructuralSimulationToolkit
coreTest_Module.h
1 // Copyright 2009-2021 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-2021, NTESS
6 // All rights reserved.
7 //
8 // Portions are copyright of other developers:
9 // See the file CONTRIBUTORS.TXT in the top level directory
10 // the distribution for more information.
11 //
12 // This file is part of the SST software package. For license
13 // information, see the LICENSE file in the top level directory of the
14 // distribution.
15 
16 #ifndef _CORETEST_MODULE_H
17 #define _CORETEST_MODULE_H
18 
19 #include <vector>
20 
21 #include <sst/core/component.h>
22 #include <sst/core/module.h>
23 #include <sst/core/link.h>
24 
25 namespace SST {
26 namespace CoreTestModule {
27 
29 
30 public:
32 
33  SST_ELI_REGISTER_MODULE(
35  "coreTestElement",
36  "CoreTestModule",
37  SST_ELI_ELEMENT_VERSION(1,0,0),
38  "CoreTest module to demonstrate interface.",
39  "SST::CoreTestModule::CoreTestModuleInterface"
40  )
41 
42  SST_ELI_DOCUMENT_PARAMS(
43  {"modulename", "Name to give this module", ""},
44  )
45 
46  void printName();
47 
48 private:
49  std::string modName;
50 
51 };
52 
53 }
54 } // namespace SST
55 
56 #endif /* _CORETEST_MODULE_H */
Definition: coreTest_Module.h:28
Module is a tag class used with the loadModule function.
Definition: module.h:22
Parameter store.
Definition: params.h:44