84 template<
typename target
identifierT>
181 template<
typename target
identifierT>
188 source.
send_test_event(dummy_target, receptor_type, get_syn_id(),
true);
195 target_.set_rport(source.
send_test_event(target, receptor_type, get_syn_id(),
false));
197 target_.set_target(&target);
200 template<
typename target
identifierT>
204 def<double_t>(
d,
names::delay, syn_id_delay_.get_delay_ms());
205 target_.get_status(d);
208 template<
typename target
identifierT>
216 syn_id_delay_.set_delay_ms(delay);
221 template<
typename target
identifierT>
228 if (syn_id_delay_.delay == 0)
229 syn_id_delay_.delay = 1;
232 template<
typename target
identifierT>
237 "Connection does not support updates that are triggered by the volume transmitter.");
242 #endif // CONNECTION_H
void init_node_(const nest::Node &)
Definition: connection.h:70
void trigger_update_weight(const thread, const std::vector< spikecounter > &, const double_t, const CommonSynapseProperties &)
triggers an update of a synaptic weight this function is needed for neuromodulated synaptic plasticit...
Definition: connection.h:234
void calibrate(const TimeConverter &)
Calibrate the delay of this connection to the desired resolution.
Definition: connection.h:223
const Name delay("delay")
Connection parameters.
Definition: nest_names.h:92
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
Declarations for base class Node.
void init_state_(const nest::Node &)
Private function to initialize the state of a node to model defaults.
Definition: connection.h:71
long_t get_delay_steps() const
Return the delay of the connection in steps.
Definition: connection.h:126
void check_connection_(Node &dummy_target, Node &source, Node &target, rport receptor_type)
This function calls check_connection() on the sender to check if the receiver accepts the event type ...
Definition: connection.h:183
To be thrown if a connection is not possible.
Definition: exceptions.h:317
void update(const nest::Time &, nest::long_t, nest::long_t)
Bring the node from state $t$ to $t+n*dt$.
Definition: connection.h:67
delay get_steps() const
Definition: nest_time.h:395
Time from_old_steps(long_t s_old) const
Converts a given number of steps with respect to old representation into a time object in current rep...
Definition: nest_timeconverter.cpp:34
virtual port send_test_event(Node &receiving_node, rport receptor_type, synindex syn_id, bool dummy_target)
Send an event to the receiving_node passed as an argument.
Definition: node.cpp:169
void calibrate()
Re-calculate dependent parameters of the node.
Definition: connection.h:66
SynIdDelay syn_id_delay_
syn_id (char) and delay (24 bit) in timesteps of this connection
Definition: connection.h:177
long_t rport
Connection port number to distinguish incoming connections, also called receiver port.
Definition: nest.h:147
void set_status(const DictionaryDatum &d, ConnectorModel &cm)
Set properties of this connection from the values given in dictionary.
Definition: connection.h:210
Node * get_target(thread t) const
Definition: connection.h:155
double_t get_delay() const
Return the delay of the connection in ms.
Definition: connection.h:121
void set_delay_steps(const long_t delay)
Set the delay of the connection in steps.
Definition: connection.h:136
void set_delay_ms(const double_t d)
Set the delay of the connection specified in ms.
Definition: syn_id_delay.h:55
void set_syn_id(synindex syn_id)
Set the synapse id of the connection.
Definition: connection.h:141
Definition: nest_time.h:130
unsigned syn_id
Definition: syn_id_delay.h:33
void set_status(const DictionaryDatum &)
Definition: connection.h:68
Connection()
Definition: connection.h:90
const Name source("source")
Connection parameters.
Definition: nest_names.h:260
const Name target("target")
Connection parameters.
Definition: nest_names.h:282
void set_delay(const double_t delay)
Set the delay of the connection.
Definition: connection.h:131
Base class for dummy nodes used in connection testing.
Definition: connection.h:64
Class to convert times from one representation to another.
Definition: nest_timeconverter.h:45
Definition: syn_id_delay.h:31
void get_status(DictionaryDatum &) const
Definition: connection.h:69
unsigned delay
Definition: syn_id_delay.h:34
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: connection.h:72
double double_t
Double precision floating point numbers.
Definition: nest.h:93
synindex get_syn_id() const
Get the synapse id of the connection.
Definition: connection.h:146
rport get_rport() const
Definition: connection.h:156
double_t get_delay_ms() const
Return the delay of the connection in ms.
Definition: syn_id_delay.h:50
Class containing the common properties for all connections of a certain type.
Definition: common_synapse_properties.h:44
void get_status(DictionaryDatum &d) const
Get all properties of this connection and put them into a dictionary.
Definition: connection.h:202
unsigned char synindex
Unsigned char type for enumerations of synapse types.
Definition: nest.h:115
long_t delay
Delay of a connection.
Definition: nest.h:178
Part of definition of volume_transmitter to record and manage spike times and multiplicity of neurons...
Default types used by the NEST kernel.
Base class for representing connections.
Definition: connection.h:85
Base class for all NEST network objects.
Definition: node.h:96
targetidentifierT target_
Definition: connection.h:176
void assert_valid_delay_ms(double_t)
Raise exception if delay value in milliseconds is invalid.
Definition: connector_model.cpp:67
Definition: connector_model.h:38
int_t thread
Thread index type.
Definition: nest.h:133
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
Connection(const Connection< targetidentifierT > &rhs)
Definition: connection.h:95