78template <
typename target
identifierT >
149 throw BadProperty(
"gap_junction connection has no delay" );
155 throw BadProperty(
"gap_junction connection has no delay" );
162template <
typename target
identifierT >
165template <
typename target
identifierT >
175template <
typename target
identifierT >
176std::unique_ptr< SecondaryEvent >
179 return std::make_unique< GapJunctionEvent >();
182template <
typename target
identifierT >
189 throw BadProperty(
"gap_junction connection has no delay" );
Dictionary class for interface to Python and C++ API.
Definition dictionary.h:213
Exception to be thrown if a status parameter is incomplete or inconsistent.
Definition exceptions.h:680
Class containing the common properties for all connections of a certain type.
Definition common_synapse_properties.h:50
void get_status(Dictionary &d) const
size_t get_rport() const
Definition connection.h:316
long get_delay_steps() const
Definition connection.h:271
void set_status(const Dictionary &d, ConnectorModel &cm)
Connection()
Definition connection.h:124
Node * get_target(const size_t tid) const
Definition connection.h:311
targetidentifierT target_
Definition connection.h:383
Definition connector_model.h:69
Encapsulate information sent between nodes.
Definition event.h:103
void set_sender(Node &)
Change pointer to sending Node.
Definition event.h:959
Event for gap-junction information.
Definition secondary_event.h:299
Base class for all NEST network objects.
Definition node.h:99
void get_status(Dictionary &d) const
Definition gap_junction.h:167
size_t get_rport() const
Definition connection.h:316
std::unique_ptr< SecondaryEvent > get_secondary_event()
Definition gap_junction.h:177
double weight_
connection weight
Definition gap_junction.h:159
void check_connection(Node &s, Node &t, const size_t receptor_type, const synindex, const CommonPropertiesType &)
Definition gap_junction.h:111
bool send(Event &e, size_t t, const CommonSynapseProperties &)
Send an event to the receiver of this connection.
Definition gap_junction.h:127
void set_delay_ms(double)
Definition gap_junction.h:147
CommonSynapseProperties CommonPropertiesType
Definition gap_junction.h:84
void set_delay_steps(long)
Definition gap_junction.h:153
void set_weight(double w)
Definition gap_junction.h:141
Node * get_target(const size_t tid) const
Definition connection.h:311
void set_status(const Dictionary &d, ConnectorModel &cm)
Definition gap_junction.h:184
gap_junction()
Default Constructor.
Definition gap_junction.h:94
Connection< targetidentifierT, TotalDelay > ConnectionBase
Definition gap_junction.h:85
static constexpr ConnectionModelProperties properties
Definition gap_junction.h:87
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:282
virtual void sends_secondary_event(GapJunctionEvent &ge)
Required to check, if source neuron may send a SecondaryEvent.
Definition node.cpp:400
const std::string delay("delay")
const std::string axonal_delay("axonal_delay")
const std::string weight("weight")
const std::string size_of("sizeof")
const std::string dendritic_delay("dendritic_delay")
Namespace for the NEST simulation kernel.
Definition beta_normalization_factor.h:33
void register_gap_junction(const std::string &name)
Definition gap_junction.cpp:32
ConnectionModelProperties
Definition connector_model.h:49
@ REQUIRES_SYMMETRIC
Definition connector_model.h:56
@ SUPPORTS_WFR
Definition connector_model.h:55
size_t synindex
For enumerations of synapse types.
Definition nest_types.h:121