23#ifndef PARROT_NEURON_H
24#define PARROT_NEURON_H
134 void update(
Time const&,
const long,
const long )
override;
152 e.set_sender( *
this );
154 return target.handles_test_event( e, receptor_type );
162 if ( receptor_type == 0 or receptor_type == 1 )
164 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
Class implementing a flush event mechanism for neuron models.
Definition flush_event_mechanism.h:43
void pre_run_hook()
Re-calculates dependent parameters.
Definition flush_event_mechanism.cpp:50
Base class for all NEST network objects.
Definition node.h:99
virtual SignalType receives_signal() const
Definition node.h:974
virtual SignalType sends_signal() const
Definition node.h:963
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: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.h:101
void handle(SpikeEvent &) override
Handle incoming spike events.
Definition parrot_neuron.cpp:104
SignalType sends_signal() const override
Definition parrot_neuron.h:173
void init_buffers_() override
Configure persistent internal data structures.
Definition parrot_neuron.cpp:52
SignalType receives_signal() const override
Definition parrot_neuron.h:179
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:158
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:149
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:97
void pre_run_hook() override
Re-calculate dependent parameters of the node.
Definition parrot_neuron.h:129
Buffers_ B_
Definition parrot_neuron.h:145
void get_status(Dictionary &) const override
Export properties of the node by setting entries in the status dictionary.
Definition parrot_neuron.cpp:90
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(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:165
@ ALL
Definition nest_types.h:169
size_t synindex
For enumerations of synapse types.
Definition nest_types.h:115
Buffers and accumulates the number of incoming spikes per time step; RingBuffer stores doubles; for n...
Definition parrot_neuron.h:141
RingBuffer n_spikes_
Definition parrot_neuron.h:142