ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
|
#include <Fault.h>
Public Member Functions | |
Fault () | |
Constructor: Generates a new Fault with unique ID. More... | |
std::string | toString () const |
operator<< can be used. More... | |
void | resolveTime (uint64_t time) |
Resolves time for all its Triggers. More... | |
bool | isResoved () const |
check all Triggers if they are resolved. More... | |
Public Member Functions inherited from etiss::ToString | |
ToString () | |
virtual | ~ToString () |
Public Attributes | |
std::string | name_ |
int32_t | id_ |
std::vector< Trigger > | triggers |
contains the triggers for this fault More... | |
std::vector< Action > | actions |
contains the actions for this fault More... | |
etiss::fault::Fault::Fault | ( | ) |
Constructor: Generates a new Fault with unique ID.
Definition at line 208 of file Fault.cpp.
References id_, etiss::log(), etiss::fault::uniqueFaultId(), and etiss::VERBOSE.
bool etiss::fault::Fault::isResoved | ( | ) | const |
void etiss::fault::Fault::resolveTime | ( | uint64_t | time | ) |
Resolves time for all its Triggers.
Definition at line 230 of file Fault.cpp.
References etiss::log(), triggers, and etiss::VERBOSE.
std::string etiss::fault::Fault::toString | ( | ) | const |
operator<< can be used.
Definition at line 213 of file Fault.cpp.
References pugi::xml_node::append_child(), pugi::xml_document::load(), and pugi::xml_document::save().
Referenced by etiss::fault::Action::Action(), and etiss::fault::Stressor::addFault().
std::vector<Action> etiss::fault::Fault::actions |
int32_t etiss::fault::Fault::id_ |
Definition at line 99 of file Fault.h.
Referenced by etiss::fault::Stressor::addFault(), etiss::VirtualStruct::applyAction(), and Fault().
std::vector<Trigger> etiss::fault::Fault::triggers |
contains the triggers for this fault
Definition at line 100 of file Fault.h.
Referenced by etiss::fault::Stressor::addFault(), isResoved(), and resolveTime().