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