simulavr  1.1.0
SimulationMember Class Referenceabstract

#include <simulationmember.h>

Inheritance diagram for SimulationMember:

Public Member Functions

virtual ~SimulationMember ()
 
virtual int Step (bool &trueHwStep, SystemClockOffset *timeToNextStepIn_ns=0)=0
 Return nonzero if a breakpoint was hit. More...
 

Detailed Description

Any class which is needs to be notified at certain time implements this. Implementor usually calls SystemClock::Add(this) and its SimulationMember::Step() will be called later. People, please avoid polling.

Definition at line 34 of file simulationmember.h.

Constructor & Destructor Documentation

◆ ~SimulationMember()

virtual SimulationMember::~SimulationMember ( )
inlinevirtual

Definition at line 36 of file simulationmember.h.

References Step().

Member Function Documentation

◆ Step()

virtual int SimulationMember::Step ( bool &  trueHwStep,
SystemClockOffset timeToNextStepIn_ns = 0 
)
pure virtual

Return nonzero if a breakpoint was hit.

Implemented in HWTimerTinyX5, AvrDevice, HWUSI, GdbServer, Lcd, SerialRxBasic, UserInterface, Keyboard, AdcPin, SerialTxBuffered, Scope, SpiSink, and SpiSource.

Referenced by SystemClock::Step(), and ~SimulationMember().


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