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