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

#include <ErrorDefinition.h>

Inheritance diagram for etiss::error::StuckLow:
Inheritance graph
[legend]
Collaboration diagram for etiss::error::StuckLow:
Collaboration graph
[legend]

Public Member Functions

template<typename iterateableT >
 StuckLow (const iterateableT &positions, int id=-1, const std::string &name="")
 
virtual void apply (uint64_t &var)
 
template<typename T >
void fapply (T &var)
 
virtual const std::vector< unsigned > affectedBits ()
 
- Public Member Functions inherited from etiss::error::Error
 Error (bool persistent, int id=-1, const std::string &name="")
 
virtual ~Error ()
 
virtual void apply (uint32_t &var)
 
virtual void apply (uint16_t &var)
 
virtual void apply (uint8_t &var)
 

Private Attributes

std::vector< unsigned > low_positions
 
uint64_t low
 

Additional Inherited Members

- Public Attributes inherited from etiss::error::Error
const bool persistent_
 
int id_
 
std::string name_
 

Detailed Description

Definition at line 155 of file ErrorDefinition.h.

Constructor & Destructor Documentation

◆ StuckLow()

template<typename iterateableT >
etiss::error::StuckLow::StuckLow ( const iterateableT &  positions,
int  id = -1,
const std::string &  name = "" 
)
inline

Definition at line 163 of file ErrorDefinition.h.

References low, and low_positions.

Member Function Documentation

◆ affectedBits()

const std::vector< unsigned > etiss::error::StuckLow::affectedBits ( )
virtual

Implements etiss::error::Error.

Definition at line 125 of file ErrorDefinition.cpp.

References low_positions.

◆ apply()

void etiss::error::StuckLow::apply ( uint64_t var)
virtual

Implements etiss::error::Error.

Definition at line 112 of file ErrorDefinition.cpp.

References low.

◆ fapply()

template<typename T >
void etiss::error::StuckLow::fapply ( T &  var)
inline

Definition at line 178 of file ErrorDefinition.h.

References low.

Member Data Documentation

◆ low

uint64_t etiss::error::StuckLow::low
private

◆ low_positions

std::vector<unsigned> etiss::error::StuckLow::low_positions
private

Definition at line 158 of file ErrorDefinition.h.

Referenced by affectedBits(), and StuckLow().


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