SST  12.0.1
StructuralSimulationToolkit
coreTest_Serialization.h
1 // Copyright 2009-2022 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-2022, 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 SST_CORE_CORETEST_SERIALIZATION_H
17 #define SST_CORE_CORETEST_SERIALIZATION_H
18 
19 #include "sst/core/component.h"
20 #include "sst/core/rng/rng.h"
21 
22 namespace SST {
23 namespace CoreTestSerialization {
24 
26 {
27 public:
28  // REGISTER THIS COMPONENT INTO THE ELEMENT LIBRARY
29  SST_ELI_REGISTER_COMPONENT(
31  "coreTestElement",
32  "coreTestSerialization",
33  SST_ELI_ELEMENT_VERSION(1,0,0),
34  "Serialization Check Component",
35  COMPONENT_CATEGORY_UNCATEGORIZED
36  )
37 
38  SST_ELI_DOCUMENT_PARAMS(
39  )
40 
41  // Optional since there is nothing to document
42  SST_ELI_DOCUMENT_STATISTICS(
43  )
44 
45  // Optional since there is nothing to document
46  SST_ELI_DOCUMENT_PORTS(
47  )
48 
49  // Optional since there is nothing to document
50  SST_ELI_DOCUMENT_SUBCOMPONENT_SLOTS(
51  )
52 
53  coreTestSerialization(SST::ComponentId_t id, SST::Params& params);
55 
56 private:
57  SST::RNG::Random* rng;
58 };
59 
60 } // namespace CoreTestSerialization
61 } // namespace SST
62 
63 #endif // SST_CORE_CORETEST_SERIALIZATION_H
Implements the base class for random number generators for the SST core.
Definition: rng.h:27
Main component object for the simulation.
Definition: component.h:30
Definition: coreTest_Serialization.h:25
Parameter store.
Definition: params.h:55