Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

punnets_common::tevent Class Reference
[Scheduling]

#include <dsched.h>

List of all members.

Public Methods

 tevent (ntime_t itime, taction &iact)
 construct an event with the specified time and action.

ntime_t getTime () const
 Obtain the time component of the event.

tactiongetAction () const
 Obtain the action component of the event.

void activate (tscheduler &scheduler) const
 When the event time reaches, scheduler calls this member to trigger the event.


Detailed Description

Event (scheduled action)

Class tevent represents a scheduled event, which is a pair of a scheduled time and an action. When simulation time reaches the event time, the scheduler triggers the event; the corresponding action is "activated" to perform the change.

Definition at line 74 of file dsched.h.


The documentation for this class was generated from the following file:
Generated on Mon Jun 16 15:42:29 2003 for Punnets by doxygen1.2.18