1- #ifndef _H_SST_MIRANDA_EVENT
2- #define _H_SST_MIRANDA_EVENT
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+ // Portions are copyright of other developers:
9+ // See the file CONTRIBUTORS.TXT in the top level directory
10+ // of 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 _H_SST_MEM_H_REQUEST_GEN_EVENT
17+ #define _H_SST_MEM_H_REQUEST_GEN_EVENT
318
419#include < cstdint>
520#include < deque>
1227namespace SST {
1328namespace Miranda {
1429
15- // ==============================================================================
16- // MirandaReqEvent
17- // ==============================================================================
1830class MirandaReqEvent : public SST ::Event {
1931public:
20- // 1) default ctor for deserialization / checkpoint-restart
2132 MirandaReqEvent () = default ;
2233
23- // 2) “normal” ctor you probably already had
24- MirandaReqEvent (uint64_t _key,
34+ MirandaReqEvent (uint64_t key,
2535 const std::deque<std::pair<std::string,SST ::Params>>& gens) :
26- key (_key ), generators(gens)
36+ key (key ), generators(gens)
2737 {}
2838
29- // data members
3039 uint64_t key;
3140 std::deque<std::pair<std::string,SST ::Params>> generators;
3241
@@ -41,16 +50,11 @@ class MirandaReqEvent : public SST::Event {
4150 ImplementSerializable (SST ::Miranda::MirandaReqEvent);
4251};
4352
44- // ==============================================================================
45- // MirandaRspEvent
46- // ==============================================================================
4753class MirandaRspEvent : public SST ::Event {
4854public:
49- // default ctor for UNPACK
5055 MirandaRspEvent () = default ;
5156
52- // convenience ctor
53- explicit MirandaRspEvent (uint64_t _key) : key(_key) {}
57+ explicit MirandaRspEvent (uint64_t key) : key(key) {}
5458
5559 uint64_t key;
5660
0 commit comments