ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
Public Member Functions | List of all members
etiss::VirtualStruct::Field::Listener Class Referenceabstract

NOTE: etiss::CPUArch should implement support for Listeners by either using the etiss::VirtualStruct::Field instance to write to listener supported field or it should call the signalWrite() functions of a Field. More...

#include <VirtualStruct.h>

Inheritance diagram for etiss::VirtualStruct::Field::Listener:
Inheritance graph
[legend]

Public Member Functions

virtual ~Listener ()
 
virtual void write (etiss::VirtualStruct::Field &field, uint64_t val)=0
 

Detailed Description

NOTE: etiss::CPUArch should implement support for Listeners by either using the etiss::VirtualStruct::Field instance to write to listener supported field or it should call the signalWrite() functions of a Field.

Attention
Listeners should be very carefull or infinite recursion if they write to a field within the write call.

Definition at line 157 of file VirtualStruct.h.

Constructor & Destructor Documentation

◆ ~Listener()

etiss::VirtualStruct::Field::Listener::~Listener ( )
virtual

Definition at line 48 of file VirtualStruct.cpp.

Member Function Documentation

◆ write()

virtual void etiss::VirtualStruct::Field::Listener::write ( etiss::VirtualStruct::Field field,
uint64_t  val 
)
pure virtual

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