SST 15.0
Structural Simulation Toolkit
coreTest_Serialization.h
1// Copyright 2009-2025 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-2025, 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#include <cstddef>
19
20namespace SST::CoreTestSerialization {
21
23{
24public:
25 // REGISTER THIS COMPONENT INTO THE ELEMENT LIBRARY
26 SST_ELI_REGISTER_COMPONENT(
28 "coreTestElement",
29 "coreTestSerialization",
30 SST_ELI_ELEMENT_VERSION(1,0,0),
31 "Serialization Check Component",
32 COMPONENT_CATEGORY_UNCATEGORIZED
33 )
34
35 SST_ELI_DOCUMENT_PARAMS(
36 { "test", "Type of serialization test to perform", NULL}
37 )
38
39 // Optional since there is nothing to document
40 SST_ELI_DOCUMENT_STATISTICS(
41 )
42
43 // Optional since there is nothing to document
44 SST_ELI_DOCUMENT_PORTS(
45 )
46
47 // Optional since there is nothing to document
48 SST_ELI_DOCUMENT_SUBCOMPONENT_SLOTS(
49 )
50
51 coreTestSerialization(SST::ComponentId_t id, SST::Params& params);
53
54private:
55 std::unique_ptr<SST::RNG::Random> rng;
56};
57
58} // namespace SST::CoreTestSerialization
59
60#endif // SST_CORE_CORETEST_SERIALIZATION_H
Main component object for the simulation.
Definition component.h:31
Definition coreTest_Serialization.h:23
Parameter store.
Definition params.h:58