- A Logic Circuit Simulation Library in C++

lcs::TickListener Class Reference

#include <tickListener.h>

Inheritance diagram for lcs::TickListener:

lcs::ChangeMonitor< width > lcs::Tester< inBits > List of all members.

Detailed Description

An abstract base class which should be subclassed to obtain class whose objects can be notified of lcs::Clock pulses or lcs::SystemTimer time ticks.

Public Member Functions

 TickListener ()
virtual ~TickListener ()
virtual void onTick (void)=0

Constructor & Destructor Documentation

lcs::TickListener::TickListener (  )  [inline]

Default constructor.

virtual lcs::TickListener::~TickListener (  )  [inline, virtual]


Member Function Documentation

virtual void lcs::TickListener::onTick ( void   )  [pure virtual]

This should be overloaded by derived classes. This function will be used to notify the lcs::Clock state changes or lcs::SystemTimer time ticks.

Implemented in lcs::ChangeMonitor< width >, and lcs::Tester< inBits >.

Copyright © 2006, 2007 Siva Chandra