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