#include <clock.h>
Public Member Functions | |
Clock (double) | |
void | risingEdge () |
void | fallingEdge () |
Public Attributes | |
double | frequency |
double | period |
list< tickObjBase * > | risingObjs |
list< tickObjBase * > | fallingObjs |
Definition at line 23 of file clock.h.
Clock::Clock | ( | double | freq | ) |
Definition at line 7 of file clock.cc.
References fallingEdge(), frequency, Simulator::Now(), period, risingEdge(), and Simulator::Schedule().
void Clock::fallingEdge | ( | ) |
Definition at line 30 of file clock.cc.
References fallingObjs, Simulator::Now(), period, and Simulator::Schedule().
Referenced by Clock().
void Clock::risingEdge | ( | ) |
Definition at line 18 of file clock.cc.
References Simulator::Now(), period, risingObjs, and Simulator::Schedule().
Referenced by Clock().
list<tickObjBase*> Clock::fallingObjs |
double Clock::frequency |
double Clock::period |
list<tickObjBase*> Clock::risingObjs |