SST/macro
fail_event.h
Go to the documentation of this file.
1 #ifndef FAIL_MESSAGE_H
2 #define FAIL_MESSAGE_H
3 
5 
6 namespace sstmac {
7  namespace hw {
8 
9 class fail_event :
10  public event,
11  public serializable_type<fail_event>
12 {
14 
15  public:
16  bool
17  is_failure() const {
18  return true;
19  }
20 
21  virtual void
23 
24  std::string
25  to_string() const {
26  return "fail message";
27  }
28 
29 };
30 
31  }
32 }
33 
34 #endif // FAIL_MESSAGE_H
virtual bool is_failure() const
Definition: sst_event.h:54
std::string to_string() const
Definition: fail_event.h:25
void serialize_order(serializer &ser)
Definition: sst_event.h:40
This class is basically a wrapper for objects to declare the order in which their members should be s...
Definition: serializer.h:33
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
ImplementSerializable(fail_event) public
Definition: fail_event.h:13