23#ifndef PARROT_NEURON_H
24#define PARROT_NEURON_H
147 void update(
Time const&,
const long,
const long )
override;
165 e.set_sender( *
this );
167 return target.handles_test_event( e, receptor_type );
175 if ( receptor_type == 0 or receptor_type == 1 )
177 return receptor_type;
190 if ( receptor_type == 0 or receptor_type == 1 )
192 return receptor_type;
Dictionary class for interface to Python and C++ API.
Definition dictionary.h:213
ArchivingNode()
Definition archiving_node.cpp:37
void pre_run_hook_()
Definition axonal_delay_archiving_node.cpp:44
void pre_run_hook()
Re-calculates dependent parameters.
Definition flush_event_mechanism.cpp:50
FlushEventMechanism()
Default constructor.
Definition flush_event_mechanism.cpp:35
Base class for all NEST network objects.
Definition node.h:99
virtual SignalType receives_signal() const
Definition node.h:988
virtual SignalType sends_signal() const
Definition node.h:977
std::string get_name() const
Return class name.
Definition node.cpp:105
Buffer Layout.
Definition ring_buffer.h:83
Event for spike information.
Definition event.h:420
Definition nest_time.h:135
Exception to be thrown if the specified receptor type does not exist in the node.
Definition exceptions.h:417
void handle(SpikeEvent &) override
Handle incoming spike events.
Definition parrot_neuron.cpp:103
SignalType sends_signal() const override
Definition parrot_neuron.h:201
bool supports_axonal_delay_corrections() const override
Whether this model can be the target of a synapse with predominantly axonal delay.
Definition parrot_neuron.h:130
void init_buffers_() override
Configure persistent internal data structures.
Definition parrot_neuron.cpp:52
SignalType receives_signal() const override
Definition parrot_neuron.h:207
parrot_neuron()
Definition parrot_neuron.cpp:45
size_t handles_test_event(SpikeEvent &, size_t) override
Check if the node can handle a particular event and receptor type.
Definition parrot_neuron.h:171
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.h:162
void update(Time const &, const long, const long) override
Advance the state of the node in time through the given interval.
Definition parrot_neuron.cpp:59
void set_status(const Dictionary &) override
Change properties of the node according to the entries in the dictionary.
Definition parrot_neuron.cpp:96
void pre_run_hook() override
Re-calculate dependent parameters of the node.
Definition parrot_neuron.h:141
Buffers_ B_
Definition parrot_neuron.h:158
void get_status(Dictionary &) const override
Export properties of the node by setting entries in the status dictionary.
Definition parrot_neuron.cpp:89
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:282
virtual void handle(SpikeEvent &e)
Handle incoming spike events.
Definition node.cpp:271
Namespace for the NEST simulation kernel.
Definition beta_normalization_factor.h:33
void register_parrot_neuron(const std::string &name)
Definition parrot_neuron.cpp:39
SignalType
enum type of signal conveyed by spike events of a node.
Definition nest_types.h:171
@ ALL
Definition nest_types.h:175
size_t synindex
For enumerations of synapse types.
Definition nest_types.h:121
Buffers and accumulates the number of incoming spikes per time step; RingBuffer stores doubles; for n...
Definition parrot_neuron.h:154
RingBuffer n_spikes_
Definition parrot_neuron.h:155