SST 15.0
Structural Simulation Toolkit
coreTest_ComponentEvent.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_COMPONENTEVENT_H
13#define SST_CORE_CORETEST_COMPONENTEVENT_H
14
15#include <vector>
16
17namespace SST::CoreTestComponent {
18
19class coreTestComponentEvent : public SST::Event
20{
21public:
22 using dataVec = std::vector<char>;
23 coreTestComponentEvent() :
25 {}
26 dataVec payload;
27
28 void serialize_order(SST::Core::Serialization::serializer& ser) override
29 {
30 Event::serialize_order(ser);
31 SST_SER(payload);
32 }
33
35};
36
37} // namespace SST::CoreTestComponent
38
39#endif // SST_CORE_CORETEST_COMPONENTEVENT_H
Definition coreTest_ComponentEvent.h:20
This class is basically a wrapper for objects to declare the order in which their members should be s...
Definition serializer.h:45
Base class for Events - Items sent across links to communicate between components.
Definition event.h:35