SST  14.0.0
StructuralSimulationToolkit
coreTest_Serialization.h
1 // Copyright 2009-2024 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-2024, 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  { "test", "Type of serialization test to perform", NULL}
36  )
37 
38  // Optional since there is nothing to document
39  SST_ELI_DOCUMENT_STATISTICS(
40  )
41 
42  // Optional since there is nothing to document
43  SST_ELI_DOCUMENT_PORTS(
44  )
45 
46  // Optional since there is nothing to document
47  SST_ELI_DOCUMENT_SUBCOMPONENT_SLOTS(
48  )
49 
50  coreTestSerialization(SST::ComponentId_t id, SST::Params& params);
52 
53 private:
54  SST::RNG::Random* rng;
55 };
56 
57 } // namespace CoreTestSerialization
58 } // namespace SST
59 
60 #endif // SST_CORE_CORETEST_SERIALIZATION_H
Implements the base class for random number generators for the SST core.
Definition: rng.h:29
Main component object for the simulation.
Definition: component.h:30
Definition: action.cc:18
Definition: coreTest_Serialization.h:21
Parameter store.
Definition: params.h:55