SimulationMember Class Reference

#include <simulationmember.h>

Inheritance diagram for SimulationMember:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

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.


Member Function Documentation

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

Return nonzero if a breakpoint was hit.

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

Referenced by SystemClock::Step().

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
Generated on Sun Feb 12 16:53:06 2012 for Simulavr by  doxygen 1.6.3