24 #ifndef TARGET_IDENTIFIER_H
25 #define TARGET_IDENTIFIER_H
135 throw IllegalConnection(
"Only rport==0 allowed for HPC synpases. Use normal synapse models instead."
136 "See Kunkel et al, Front Neuroinform 8:78 (2014), Sec 3.3.2.");
150 throw IllegalConnection(String::compose(
"HPC synapses support at most %1 nodes per thread. "
151 "See Kunkel et al, Front Neuroinform 8:78 (2014), Sec 3.3.2.",
size_t index
Unsigned long type for enumerations.
Definition: nest.h:109
void set_target(Node *target)
Definition: target_identifier.h:144
const index max_targetindex
Definition: nest.h:125
index get_gid() const
Return global Network ID.
Definition: node.h:753
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
targetindex target_
Target node.
Definition: target_identifier.h:140
Node * get_target_ptr(thread t) const
Definition: target_identifier.h:122
To be thrown if a connection is not possible.
Definition: exceptions.h:317
rport get_rport() const
Definition: target_identifier.h:128
Class providing compact (hpc) target identified by index.
Definition: target_identifier.h:97
long_t rport
Connection port number to distinguish incoming connections, also called receiver port.
Definition: nest.h:147
Node * get_target_ptr(thread) const
Definition: target_identifier.h:72
TargetIdentifierPtrRport()
Definition: target_identifier.h:50
index get_thread_lid() const
get thread local index
Definition: node.h:857
TargetIdentifierPtrRport(const TargetIdentifierPtrRport &t)
Definition: target_identifier.h:56
unsigned short targetindex
Unsigned short type for compact target representation.
Definition: nest.h:123
void ensure_valid_thread_local_ids()
Ensure that all nodes in the network have valid thread-local IDs.
Definition: network.h:679
const Name target("target")
Connection parameters.
Definition: nest_names.h:282
Declarations for class Network.
void set_rport(rport rprt)
Definition: target_identifier.h:132
const Name rport("receptor")
Connection parameters.
Definition: nest_names.h:251
void set_rport(rport rprt)
Definition: target_identifier.h:78
void get_status(DictionaryDatum &d) const
Definition: target_identifier.h:62
static Network & get_network()
Return a reference to the network managed by nestmodule.
Definition: nestmodule.h:497
Node * target_
Target node.
Definition: target_identifier.h:82
rport rport_
Receiver port at the target node.
Definition: target_identifier.h:83
TargetIdentifierIndex(const TargetIdentifierIndex &t)
Definition: target_identifier.h:107
Class providing classic target identified information with target pointer and rport.
Definition: target_identifier.h:45
rport get_rport() const
Definition: target_identifier.h:74
Base class for all NEST network objects.
Definition: node.h:96
Node * thread_lid_to_node(thread t, targetindex thread_local_id) const
Definition: network.h:900
void get_status(DictionaryDatum &d) const
Definition: target_identifier.h:112
TargetIdentifierIndex()
Definition: target_identifier.h:102
int_t thread
Thread index type.
Definition: nest.h:133
void set_target(Node *target)
Definition: target_identifier.h:76
const targetindex invalid_targetindex
Definition: nest.h:124