23 #ifndef SPIKE_DETECTOR_H
24 #define SPIKE_DETECTOR_H
187 if (receptor_type != 0)
void finalize()
Finalize node.
Definition: spike_detector.h:193
bool has_proxies() const
Returns true if the node has proxies on remote threads.
Definition: spike_detector.h:105
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
bool local_receiver_
Definition: spike_detector.h:169
void init_state_(Node const &)
Private function to initialize the state of a node to model defaults.
Definition: spike_detector.cpp:50
Definition: lockptrdatum.h:40
Declarations for base class Node.
void set_status(const DictionaryDatum &)
Definition: spike_detector.cpp:112
void handle(SpikeEvent &)
Handle incoming spike events.
Definition: spike_detector.cpp:120
void set_has_proxies(const bool hp)
Sets has_proxies_ member variable (to switch to global spike detection mode)
Definition: spike_detector.h:173
long_t rport
Connection port number to distinguish incoming connections, also called receiver port.
Definition: nest.h:147
void get_status(DictionaryDatum &) const
Definition: spike_detector.cpp:96
bool has_proxies_
Definition: spike_detector.h:168
bool potential_global_receiver() const
Returns true for potential global receivers (e.g.
Definition: spike_detector.h:106
Base class for all recording devices.
Definition: recording_device.h:214
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: spike_detector.cpp:57
Definition: nest_time.h:130
std::string get_name() const
Return class name.
Definition: node.cpp:83
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: spike_detector.cpp:65
RecordingDevice device_
Definition: spike_detector.h:164
Spike detector class.
Definition: spike_detector.h:96
long_t port
Connection port number to distinguis outgoing connections.
Definition: nest.h:155
Buffer for incoming spikes.
Definition: spike_detector.h:160
virtual void handle(SpikeEvent &e)
Handle incoming spike events.
Definition: node.cpp:198
std::vector< std::vector< Event * > > spikes_
Definition: spike_detector.h:161
port handles_test_event(SpikeEvent &, rport)
Check if the node can handle a particular event and receptor type.
Definition: spike_detector.h:185
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
bool user_set_precise_times_
Definition: spike_detector.h:167
spike_detector()
Definition: spike_detector.cpp:34
void update(Time const &, const long_t, const long_t)
Update detector by recording spikes.
Definition: spike_detector.cpp:80
Default types used by the NEST kernel.
Buffers_ B_
Definition: spike_detector.h:165
Event for spike information.
Definition: event.h:320
void finalize()
Flush output stream if requested.
Definition: recording_device.cpp:456
Base class for all NEST network objects.
Definition: node.h:96
void set_local_receiver(const bool lr)
Sets local_receiver_ member variable (to switch to global spike detection mode)
Definition: spike_detector.h:179
bool local_receiver() const
Returns true if the node only receives events from nodes/devices on the same thread.
Definition: spike_detector.h:108
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96