SST/macro
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
sstmac
hardware
common
failable.h
Go to the documentation of this file.
1
#ifndef FAILABLE_H
2
#define FAILABLE_H
3
4
#include <
sstmac/common/sst_event_fwd.h
>
5
#include <
sstmac/hardware/common/connection.h
>
6
7
namespace
sstmac
{
8
namespace
hw {
9
10
class
failable
11
{
12
13
public
:
14
bool
15
failed
()
const
{
16
return
failed_
;
17
}
18
19
void
20
fail
(){
21
failed_
=
true
;
22
}
23
24
protected
:
25
failable
() :
26
failed_
(false)
27
{
28
}
29
30
protected
:
31
bool
failed_
;
32
33
};
34
35
}
36
}
37
38
#endif // FAILABLE_H
sstmac::hw::failable::failed
bool failed() const
Definition:
failable.h:15
connection.h
sstmac::hw::failable::failed_
bool failed_
Definition:
failable.h:31
sstmac
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
Definition:
parallel_runtime.h:18
sstmac::hw::failable::failable
failable()
Definition:
failable.h:25
sstmac::hw::failable::fail
void fail()
Definition:
failable.h:20
sst_event_fwd.h
sstmac::hw::failable
Definition:
failable.h:10
Generated by
1.8.11