23#ifndef SPIKE_RECORDER_H
24#define SPIKE_RECORDER_H
135 void update(
Time const&,
const long,
const long )
override;
141 if ( receptor_type != 0 )
Dictionary class for interface to Python and C++ API.
Definition dictionary.h:213
virtual SignalType receives_signal() const
Definition node.h:974
std::string get_name() const
Return class name.
Definition node.cpp:105
Base class for all recording devices.
Definition recording_device.h:157
Type
Definition recording_device.h:169
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 spike_recorder.h:90
void pre_run_hook() override
Set internal variables before calls to SimulationManager::run()
Definition spike_recorder.cpp:56
void handle(SpikeEvent &) override
Handle incoming spike events.
Definition spike_recorder.cpp:102
bool local_receiver() const override
Returns true if the node only receives events from nodes/devices on the same thread.
Definition spike_recorder.h:103
Type get_type() const override
Definition spike_recorder.cpp:68
spike_recorder()
Definition spike_recorder.cpp:45
void get_status(Dictionary &) const override
Export properties of the node by setting entries in the status dictionary.
Definition spike_recorder.cpp:74
void update(Time const &, const long, const long) override
Advance the state of the node in time through the given interval.
Definition spike_recorder.cpp:62
void set_status(const Dictionary &) override
Change properties of the node according to the entries in the dictionary.
Definition spike_recorder.cpp:96
SignalType receives_signal() const override
Definition spike_recorder.h:149
size_t handles_test_event(SpikeEvent &, size_t) override
Check if the node can handle a particular event and receptor type.
Definition spike_recorder.h:139
std::string get_element_type() const override
Return the element type of the node.
Definition spike_recorder.h:109
bool has_proxies() const override
Returns true if the node has proxies on remote threads.
Definition spike_recorder.h:97
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
const std::string recorder("recorder")
Namespace for the NEST simulation kernel.
Definition beta_normalization_factor.h:33
void register_spike_recorder(const std::string &name)
Class spike_recorder.
Definition spike_recorder.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