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

punnets_common::taction Class Reference
[Scheduling]

#include <dsched.h>

Inheritance diagram for punnets_common::taction:

punnets_common::tlogger punnets_common::tsentinel punnets_common::tsynapse_base punnets_private::tneuron< debug > punnets_private::tneuron_ext< debug > punnets_private::tsynapse< debug > punnets_private::tsynapse_addfunc< debug > punnets_private::tsynapse_fatigue< debug > punnets_private::tsynapse_message< debug > punnets_private::tsynapse_messfunc< debug > punnets_private::tneuron_ext_const< debug > List of all members.

Public Methods

virtual void activate (tscheduler &scheduler, ntime_t current_time)=0
virtual tqueue * queue () const=0
 Obtain a local event queue of this action.

virtual const char * getClassName () const=0
 Get the class name of this action. Primarily for debugging.


Detailed Description

Action (some affection to an entity)

Class taction is a abstract base class of "changing something", such as pulse arrival etc. Event is an instance of an action, represented by a pair of time and action. When simulation time reaches the event time, the scheduler triggers the event; the corresponding action is "activated" to perform the change. E.g. when a pulse arrival is activated, the potential of the destination neuron is changed.

Punnets adopts a distributed queue model, in which every action has a corresponding "local queue".

Todo:
write more

Definition at line 52 of file dsched.h.


Member Function Documentation

virtual void punnets_common::taction::activate tscheduler &    scheduler,
ntime_t    current_time
[pure virtual]
 

Activates the action at the specified time. When the correspinding new events are generated by the action, it is scheduled to the scheduler.

Implemented in punnets_common::tsentinel, punnets_common::tlogger, punnets_common::tsynapse_base, punnets_private::tsynapse< debug >, punnets_private::tsynapse_message< debug >, punnets_private::tsynapse_fatigue< debug >, punnets_private::tneuron< debug >, punnets_private::tneuron_ext< debug >, punnets_private::tsynapse_addfunc< debug >, and punnets_private::tsynapse_messfunc< debug >.

Referenced by punnets_common::tevent::activate().


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