#include <dsched.h>
Inheritance diagram for punnets_common::taction:

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. | |
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".
Definition at line 52 of file dsched.h.
|
||||||||||||
|
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(). |
1.2.18