23#ifndef PARROT_NEURON_PS_H
24#define PARROT_NEURON_PS_H
122 void update(
Time const&,
const long,
const long )
override;
137 e.set_sender( *
this );
139 return target.handles_test_event( e, receptor_type );
147 if ( receptor_type == 0 or receptor_type == 1 )
149 return receptor_type;
Dictionary class for interface to Python and C++ API.
Definition dictionary.h:213
A node which archives spike history for the purposes of spike-timing dependent plasticity (STDP)
Definition archiving_node.h:49
Base class for all NEST network objects.
Definition node.h:99
std::string get_name() const
Return class name.
Definition node.cpp:105
Queue for all spikes arriving into a neuron.
Definition slice_ring_buffer.h:63
Event for spike information.
Definition event.h:418
Definition nest_time.h:135
Exception to be thrown if the specified receptor type does not exist in the node.
Definition exceptions.h:417
Definition parrot_neuron_ps.h:89
size_t handles_test_event(SpikeEvent &, size_t) override
Check if the node can handle a particular event and receptor type.
Definition parrot_neuron_ps.h:143
bool is_off_grid() const override
Returns true if the node sends/receives off-grid events.
Definition parrot_neuron_ps.h:109
void update(Time const &, const long, const long) override
Advance the state of the node in time through the given interval.
Definition parrot_neuron_ps.cpp:58
void set_status(const Dictionary &) override
Change properties of the node according to the entries in the dictionary.
Definition parrot_neuron_ps.cpp:100
parrot_neuron_ps()
Definition parrot_neuron_ps.cpp:44
void init_buffers_() override
Configure persistent internal data structures.
Definition parrot_neuron_ps.cpp:50
size_t send_test_event(Node &, size_t, synindex, bool) override
Send an event to the receiving_node passed as an argument.
Definition parrot_neuron_ps.h:134
void handle(SpikeEvent &) override
Handle incoming spike events.
Definition parrot_neuron_ps.cpp:107
void get_status(Dictionary &) const override
Export properties of the node by setting entries in the status dictionary.
Definition parrot_neuron_ps.cpp:94
Buffers_ B_
Definition parrot_neuron_ps.h:130
void pre_run_hook() override
Re-calculate dependent parameters of the node.
Definition parrot_neuron_ps.h:118
virtual size_t handles_test_event(SpikeEvent &, size_t receptor_type)
Check if the node can handle a particular event and receptor type.
Definition node.cpp:271
virtual void handle(SpikeEvent &e)
Handle incoming spike events.
Definition node.cpp:265
Namespace for the NEST simulation kernel.
Definition beta_normalization_factor.h:33
void register_parrot_neuron_ps(const std::string &name)
Definition parrot_neuron_ps.cpp:38
size_t synindex
For enumerations of synapse types.
Definition nest_types.h:115
Queue for incoming events.
Definition parrot_neuron_ps.h:126
SliceRingBuffer events_
Definition parrot_neuron_ps.h:127