23#ifndef WEIGHT_RECORDER_H
24#define WEIGHT_RECORDER_H
138 void update(
Time const&,
const long,
const long )
override;
158 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
Definition nest_time.h:135
Exception to be thrown if the specified receptor type does not exist in the node.
Definition exceptions.h:417
Event for recording the weight of a spike.
Definition event.h:459
Definition weight_recorder.h:93
void get_status(Dictionary &) const override
Export properties of the node by setting entries in the status dictionary.
Definition weight_recorder.cpp:123
Parameters_ P_
Definition weight_recorder.h:152
weight_recorder()
Definition weight_recorder.cpp:46
void pre_run_hook() override
Set internal variables before calls to SimulationManager::run()
Definition weight_recorder.cpp:106
std::string get_element_type() const override
Return the element type of the node.
Definition weight_recorder.h:112
SignalType receives_signal() const override
Definition weight_recorder.h:166
void handle(WeightRecorderEvent &) override
Handle incoming weight recording events.
Definition weight_recorder.cpp:160
void update(Time const &, const long, const long) override
Advance the state of the node in time through the given interval.
Definition weight_recorder.cpp:112
Type get_type() const override
Definition weight_recorder.cpp:117
void set_status(const Dictionary &) override
Change properties of the node according to the entries in the dictionary.
Definition weight_recorder.cpp:149
bool has_proxies() const override
Returns true if the node has proxies on remote threads.
Definition weight_recorder.h:100
bool local_receiver() const override
Returns true if the node only receives events from nodes/devices on the same thread.
Definition weight_recorder.h:106
size_t handles_test_event(WeightRecorderEvent &, size_t) override
Definition weight_recorder.h:156
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_weight_recorder(const std::string &name)
Definition weight_recorder.cpp:40
std::shared_ptr< NodeCollection > NodeCollectionPTR
Definition node_collection.h:50
SignalType
enum type of signal conveyed by spike events of a node.
Definition nest_types.h:165
@ ALL
Definition nest_types.h:169
Definition weight_recorder.h:141
void get(Dictionary &) const
Definition weight_recorder.cpp:67
Parameters_ & operator=(const Parameters_ &)=default
Parameters_()
Definition weight_recorder.cpp:60
NodeCollectionPTR targets_
Definition weight_recorder.h:143
NodeCollectionPTR senders_
Definition weight_recorder.h:142
Parameters_(const Parameters_ &)=default
void set(const Dictionary &)
Definition weight_recorder.cpp:74