ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
Public Member Functions | Private Attributes | List of all members
etiss::fault::InjectorAddress Class Reference

#include <InjectorAddress.h>

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

Public Member Functions

 InjectorAddress ()
 
 InjectorAddress (const std::string &address)
 
 InjectorAddress (const InjectorAddress &)
 
InjectorAddressoperator= (const InjectorAddress &)
 
const std::string & getInjectorPath () const
 
const Injector_ptrgetInjector () const
 
bool isResolved () const
 > Calls Injector::get (implemented in VirtualStruct) to resolve path_ and get iptr_ More...
 
std::string toString () const
 
- Public Member Functions inherited from etiss::ToString
 ToString ()
 
virtual ~ToString ()
 

Private Attributes

std::string path_
 Contains the VirtualStruct as string where the Injector refers to. More...
 
Injector_ptr iptr_
 Contains the pointer to the Injector. More...
 

Detailed Description

Definition at line 73 of file InjectorAddress.h.

Constructor & Destructor Documentation

◆ InjectorAddress() [1/3]

etiss::fault::InjectorAddress::InjectorAddress ( )

Definition at line 56 of file InjectorAddress.cpp.

References iptr_, etiss::log(), path_, and etiss::VERBOSE.

Here is the call graph for this function:

◆ InjectorAddress() [2/3]

etiss::fault::InjectorAddress::InjectorAddress ( const std::string &  address)

Definition at line 62 of file InjectorAddress.cpp.

References iptr_, etiss::log(), path_, and etiss::VERBOSE.

Here is the call graph for this function:

◆ InjectorAddress() [3/3]

etiss::fault::InjectorAddress::InjectorAddress ( const InjectorAddress cpy)

Definition at line 68 of file InjectorAddress.cpp.

References etiss::log(), toString(), and etiss::VERBOSE.

Here is the call graph for this function:

Member Function Documentation

◆ getInjector()

const Injector_ptr & etiss::fault::InjectorAddress::getInjector ( ) const

Definition at line 103 of file InjectorAddress.cpp.

References etiss::ERROR, etiss::fault::Injector::get(), iptr_, etiss::log(), and path_.

Referenced by etiss::fault::Trigger::fired(), etiss::fault::Trigger::getInjector(), etiss::fault::Trigger::operator=(), and etiss::fault::Trigger::~Trigger().

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

◆ getInjectorPath()

const std::string & etiss::fault::InjectorAddress::getInjectorPath ( ) const

Definition at line 99 of file InjectorAddress.cpp.

References path_.

Referenced by etiss::fault::Action::Action(), etiss::fault::Trigger::fired(), and toString().

Here is the caller graph for this function:

◆ isResolved()

bool etiss::fault::InjectorAddress::isResolved ( ) const

> Calls Injector::get (implemented in VirtualStruct) to resolve path_ and get iptr_

Definition at line 123 of file InjectorAddress.cpp.

References iptr_.

Referenced by etiss::fault::Trigger::operator=(), and etiss::fault::Trigger::~Trigger().

Here is the caller graph for this function:

◆ operator=()

InjectorAddress & etiss::fault::InjectorAddress::operator= ( const InjectorAddress cpy)

Definition at line 74 of file InjectorAddress.cpp.

References iptr_, etiss::log(), path_, toString(), and etiss::VERBOSE.

Here is the call graph for this function:

◆ toString()

std::string etiss::fault::InjectorAddress::toString ( ) const
inline

Definition at line 95 of file InjectorAddress.h.

References getInjectorPath().

Referenced by InjectorAddress(), and operator=().

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

Member Data Documentation

◆ iptr_

Injector_ptr etiss::fault::InjectorAddress::iptr_
mutableprivate

Contains the pointer to the Injector.

Definition at line 77 of file InjectorAddress.h.

Referenced by getInjector(), InjectorAddress(), isResolved(), and operator=().

◆ path_

std::string etiss::fault::InjectorAddress::path_
private

Contains the VirtualStruct as string where the Injector refers to.

Definition at line 76 of file InjectorAddress.h.

Referenced by getInjector(), getInjectorPath(), InjectorAddress(), and operator=().


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