ETISS 0.11.2
ExtendableTranslatingInstructionSetSimulator(version0.11.2)
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
etiss::fault::FaultRef Class Reference

#include <Fault.h>

Inheritance diagram for etiss::fault::FaultRef:
Inheritance graph
[legend]
Collaboration diagram for etiss::fault::FaultRef:
Collaboration graph
[legend]

Public Member Functions

std::string toString () const
 operator<< can be used.
 
bool is_set () const
 
bool set_fault_reference (const std::string &identifier)
 
bool resolve_reference () const
 
const Faultget_fault () const
 
const std::string & get_name () const
 
- Public Member Functions inherited from etiss::ToString
 ToString ()
 
virtual ~ToString ()
 

Private Attributes

Fault fault_
 referenced Fault, needs to be resolved during sim. runtime
 
std::string name_
 string identifier, used to resolve actual reference via fault_
 

Detailed Description

Definition at line 63 of file Fault.h.

Member Function Documentation

◆ get_fault()

const Fault & etiss::fault::FaultRef::get_fault ( ) const
inline

Definition at line 75 of file Fault.h.

References fault_.

◆ get_name()

const std::string & etiss::fault::FaultRef::get_name ( ) const
inline

Definition at line 76 of file Fault.h.

References name_.

◆ is_set()

bool etiss::fault::FaultRef::is_set ( ) const
inline

Definition at line 72 of file Fault.h.

References fault_, etiss::fault::Fault::name_, and name_.

◆ resolve_reference()

bool etiss::fault::FaultRef::resolve_reference ( ) const

Definition at line 293 of file Fault.cpp.

References fault_, etiss::fault::Stressor::faults(), and name_.

Referenced by set_fault_reference().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_fault_reference()

bool etiss::fault::FaultRef::set_fault_reference ( const std::string &  identifier)

Definition at line 286 of file Fault.cpp.

References name_, and resolve_reference().

Here is the call graph for this function:

◆ toString()

std::string etiss::fault::FaultRef::toString ( ) const

operator<< can be used.

Definition at line 269 of file Fault.cpp.

Referenced by etiss::fault::Action::Action().

Here is the caller graph for this function:

Member Data Documentation

◆ fault_

Fault etiss::fault::FaultRef::fault_
mutableprivate

referenced Fault, needs to be resolved during sim. runtime

Definition at line 66 of file Fault.h.

Referenced by get_fault(), is_set(), and resolve_reference().

◆ name_

std::string etiss::fault::FaultRef::name_
private

string identifier, used to resolve actual reference via fault_

Definition at line 67 of file Fault.h.

Referenced by get_name(), is_set(), resolve_reference(), and set_fault_reference().


The documentation for this class was generated from the following files: