SST/macro
timed_event.h
Go to the documentation of this file.
1 #ifndef TIMED_MESSAGE_H
2 #define TIMED_MESSAGE_H
3 
6 
7 namespace sstmac {
8 
10 {
11 
12  public:
14 
16  time_(t) {
17  }
18 
19  /**
20  * Time getter
21  * @return time field
22  */
23  timestamp
24  time() const {
25  return time_;
26  }
27 
28  /**
29  * Time setter
30  * @param t time value
31  */
32  void
33  set_time(const timestamp& t) {
34  time_ = t;
35  }
36 
37  void
39 
40  protected:
41  void
43  cln->time_ = time_;
44  }
45 
46  protected:
48 
49 };
50 
51 }
52 
53 #endif // TIMED_MESSAGE_H
54 
timed_interface(const timestamp &t)
Definition: timed_event.h:15
This class is basically a wrapper for objects to declare the order in which their members should be s...
Definition: serializer.h:33
A basic container for time (subject to future transplant).
Definition: timestamp.h:29
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
void set_time(const timestamp &t)
Time setter.
Definition: timed_event.h:33
void clone_into(timed_interface *cln) const
Definition: timed_event.h:42
void serialize_order(serializer &ser)
timestamp time() const
Time getter.
Definition: timed_event.h:24