23#ifndef FLUSH_EVENT_MECHANISM_H
24#define FLUSH_EVENT_MECHANISM_H
Dictionary class for interface to Python and C++ API.
Definition dictionary.h:213
Class implementing a flush event mechanism for neuron models.
Definition flush_event_mechanism.h:43
void set_status(const Dictionary &d, Node *node, const bool check_eprop_constraint=false)
Sets and validates parameters from the status dictionary.
Definition flush_event_mechanism.cpp:62
void set_last_event_time(const long last_event_time)
Sets the time the neuron last sent an event (spike or flush event).
Definition flush_event_mechanism.h:68
void get_status(Dictionary &d) const
Retrieves parameters and adds them to the status dictionary.
Definition flush_event_mechanism.cpp:56
void pre_run_hook()
Re-calculates dependent parameters.
Definition flush_event_mechanism.cpp:50
virtual ~FlushEventMechanism()=default
Destructor.
double flush_event_send_interval_
Interval since previous event after which a flush event is sent (ms).
Definition flush_event_mechanism.h:118
FlushEventMechanism()
Default constructor.
Definition flush_event_mechanism.cpp:35
long flush_event_send_interval_steps_
Interval since previous event after which a flush event is sent (steps).
Definition flush_event_mechanism.h:121
long last_event_time_
Time of last spike or flush event (steps).
Definition flush_event_mechanism.h:124
bool flush_event_is_due(const long current_time) const
Checks if a flush event is due at the current time.
Definition flush_event_mechanism.h:96
long get_last_event_time() const
Gets the last time the neuron sent an event (spike or flush event).
Definition flush_event_mechanism.h:79
Base class for all NEST network objects.
Definition node.h:99
Namespace for the NEST simulation kernel.
Definition beta_normalization_factor.h:33