194 e.set_sender( *
this );
196 return target.handles_test_event( e, receptor_type );
202 if ( receptor_type != 0 )
Dictionary class for interface to Python and C++ API.
Definition dictionary.h:213
Event for electrical currents.
Definition event.h:569
Request data to be logged/logged data to be sent.
Definition event.h:636
Base class for all NEST network objects.
Definition node.h:99
std::string get_name() const
Return class name.
Definition node.cpp:105
Map names of recordables to data access functions.
Definition recordables_map.h:61
Base class for common properties of StimulationDevices.
Definition stimulation_device.h:154
void enforce_single_syn_type(synindex)
Throws IllegalConnection if synapse id differs from initial synapse id.
Definition stimulation_device.cpp:62
Type
Device type.
Definition stimulation_device.h:187
@ CURRENT_GENERATOR
Definition stimulation_device.h:188
void set_status(const Dictionary &) override
Change properties of the node according to the entries in the dictionary.
Definition stimulation_device.cpp:125
void get_status(Dictionary &d) const override
Export properties of the node by setting entries in the status dictionary.
Definition stimulation_device.cpp:168
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 dc_generator.h:95
size_t handles_test_event(DataLoggingRequest &, size_t) override
Definition dc_generator.h:200
void init_state_() override
Configure state variables depending on runtime information.
Definition dc_generator.cpp:138
dc_generator()
Definition dc_generator.cpp:116
Buffers_ B_
Definition dc_generator.h:185
void handle(DataLoggingRequest &) override
Handler for universal data logging request.
Definition dc_generator.cpp:183
void get_status(Dictionary &) const override
Export properties of the node by setting entries in the status dictionary.
Definition dc_generator.h:210
StimulationDevice::Type get_type() const override
Definition dc_generator.h:240
void update(Time const &, const long, const long) override
Advance the state of the node in time through the given interval.
Definition dc_generator.cpp:164
void set_data_from_stimulation_backend(std::vector< double > &input_param) override
Definition dc_generator.cpp:189
static RecordablesMap< dc_generator > recordablesMap_
Definition dc_generator.h:182
State_ S_
Definition dc_generator.h:184
void init_buffers_() override
Configure persistent internal data structures.
Definition dc_generator.cpp:144
bool local_receiver() const override
Allow multimeter to connect to local instances.
Definition dc_generator.h:234
void pre_run_hook() override
Re-calculate dependent parameters of the node.
Definition dc_generator.cpp:151
Parameters_ P_
Definition dc_generator.h:183
size_t send_test_event(Node &, size_t, synindex, bool) override
Send an event to the receiving_node passed as an argument.
Definition dc_generator.h:189
double get_I_() const
Definition dc_generator.h:175
void set_status(const Dictionary &) override
Change properties of the node according to the entries in the dictionary.
Definition dc_generator.h:219
friend class UniversalDataLogger< dc_generator >
Definition dc_generator.h:158
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 recordables("recordables")
Namespace for the NEST simulation kernel.
Definition beta_normalization_factor.h:33
void register_dc_generator(const std::string &name)
Definition dc_generator.cpp:38
size_t synindex
For enumerations of synapse types.
Definition nest_types.h:115
Buffers of the model.
Definition dc_generator.h:166
UniversalDataLogger< dc_generator > logger_
Definition dc_generator.h:169
Store independent parameters of the model.
Definition dc_generator.h:133
double amp_
stimulation amplitude, in pA
Definition dc_generator.h:134
void get(Dictionary &) const
Store current values in dictionary.
Definition dc_generator.cpp:100
void set(const Dictionary &, Node *node)
Set values from dictionary.
Definition dc_generator.cpp:106
Parameters_()
Sets default parameter values.
Definition dc_generator.cpp:56
Parameters_ & operator=(const Parameters_ &p)
Definition dc_generator.cpp:67
Definition dc_generator.h:147
State_()
Sets default parameter values.
Definition dc_generator.cpp:79
double I_
Instantaneous current value; used for recording current Required to handle current values when device...
Definition dc_generator.h:148