23 #ifndef PARROT_NEURON_PS_H
24 #define PARROT_NEURON_PS_H
137 if (receptor_type != 0)
144 #endif //PARROT_NEURON_PS_H
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
Declarations for base class Node.
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: parrot_neuron_ps.cpp:41
void set_sender(Node &)
Change pointer to sending Node.
Definition: event.h:714
void set_status(const DictionaryDatum &)
Definition: parrot_neuron_ps.h:100
long_t rport
Connection port number to distinguish incoming connections, also called receiver port.
Definition: nest.h:147
bool is_off_grid() const
Returns true if the node if it sends/receives -grid events This is used to discriminate between diffe...
Definition: parrot_neuron_ps.h:103
Queue for all spikes arriving into a neuron.
Definition: slice_ring_buffer.h:56
parrot_neuron_ps()
Definition: parrot_neuron_ps.cpp:37
Definition: nest_time.h:130
std::string get_name() const
Return class name.
Definition: node.cpp:83
void init_state_(Node const &)
Private function to initialize the state of a node to model defaults.
Definition: parrot_neuron_ps.h:110
Exception to be thrown if the specified receptor type does not exist in the node. ...
Definition: exceptions.h:254
void calibrate()
Re-calculate dependent parameters of the node.
Definition: parrot_neuron_ps.h:112
const Name target("target")
Connection parameters.
Definition: nest_names.h:282
Queue for incoming events.
Definition: parrot_neuron_ps.h:117
Main administrative interface to the network.
Definition: network.h:135
SliceRingBuffer events_
Definition: parrot_neuron_ps.h:119
long_t port
Connection port number to distinguis outgoing connections.
Definition: nest.h:155
virtual void handle(SpikeEvent &e)
Handle incoming spike events.
Definition: node.cpp:198
virtual port handles_test_event(SpikeEvent &, rport receptor_type)
Check if the node can handle a particular event and receptor type.
Definition: node.cpp:203
void update(Time const &, const long_t, const long_t)
Bring the node from state $t$ to $t+n*dt$.
Definition: parrot_neuron_ps.cpp:47
unsigned char synindex
Unsigned char type for enumerations of synapse types.
Definition: nest.h:115
Buffers_ B_
Definition: parrot_neuron_ps.h:122
Default types used by the NEST kernel.
port handles_test_event(SpikeEvent &, rport)
Check if the node can handle a particular event and receptor type.
Definition: parrot_neuron_ps.h:135
Event for spike information.
Definition: event.h:320
Base class for all NEST network objects.
Definition: node.h:96
void get_status(DictionaryDatum &) const
Definition: parrot_neuron_ps.h:99
void handle(SpikeEvent &)
Handle incoming spike events.
Definition: parrot_neuron_ps.cpp:78
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
const double e
Definition: numerics.cpp:62
Definition: parrot_neuron_ps.h:79
port send_test_event(Node &, rport, synindex, bool)
Send an event to the receiving_node passed as an argument.
Definition: parrot_neuron_ps.h:126