14#ifndef ETISS_FAULT_FAULT_H_
15#define ETISS_FAULT_FAULT_H_
33#define MUTEX_SUPPORTED CXX0X_UP_SUPPORTED
contains general definitions used by other fault library code
general configuration and logging
static __inline__ uint64_t
static __inline__ int32_t
Marker interface for toString() support.
std::string toString() const
operator<< can be used.
bool set_fault_reference(const std::string &identifier)
std::string name_
string identifier, used to resolve actual reference via fault_
Fault fault_
referenced Fault, needs to be resolved during sim. runtime
const Fault & get_fault() const
bool resolve_reference() const
const std::string & get_name() const
bool isResoved() const
check all Triggers if they are resolved.
Fault()
Constructor: Generates a new Fault with unique ID.
std::string toString() const
operator<< can be used.
void resolveTime(uint64_t time)
Resolves time for all its Triggers.
std::vector< Trigger > triggers
contains the triggers for this fault
std::vector< Action > actions
contains the actions for this fault