78template <
typename target
identifierT >
149 throw BadProperty(
"gap_junction connection has no delay" );
156template <
typename target
identifierT >
159template <
typename target
identifierT >
166 ConnectionBase::get_status( d );
171template <
typename target
identifierT >
172std::unique_ptr< SecondaryEvent >
175 return std::make_unique< GapJunctionEvent >();
178template <
typename target
identifierT >
185 throw BadProperty(
"gap_junction connection has no delay" );
188 ConnectionBase::set_status( d, cm );
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
Base class for representing connections.
Definition connection.h:110
long get_delay_steps() const
Return the delay of the connection in steps.
Definition connection.h:181
Node * get_target(const size_t tid) const
Definition connection.h:239
size_t get_rport() const
Definition connection.h:244
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:920
Event for gap-junction information.
Definition secondary_event.h:299
Base class for all NEST network objects.
Definition node.h:99
Definition gap_junction.h:80
void get_status(Dictionary &d) const
Definition gap_junction.h:161
std::unique_ptr< SecondaryEvent > get_secondary_event()
Definition gap_junction.h:173
double weight_
connection weight
Definition gap_junction.h:153
bool send(Event &e, size_t t, const CommonSynapseProperties &)
Send an event to the receiver of this connection.
Definition gap_junction.h:127
Node * get_target(const size_t tid) const
Definition connection.h:239
CommonSynapseProperties CommonPropertiesType
Definition gap_junction.h:84
void set_weight(double w)
Definition gap_junction.h:141
size_t get_rport() const
Definition connection.h:244
void set_status(const Dictionary &d, ConnectorModel &cm)
Definition gap_junction.h:180
Connection< targetidentifierT > ConnectionBase
Definition gap_junction.h:85
void check_connection(Node &s, Node &t, size_t receptor_type, const CommonPropertiesType &)
Definition gap_junction.h:111
gap_junction()
Default Constructor.
Definition gap_junction.h:94
static constexpr ConnectionModelProperties properties
Definition gap_junction.h:87
void set_delay(double)
Definition gap_junction.h:147
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 sends_secondary_event(GapJunctionEvent &ge)
Required to check, if source neuron may send a SecondaryEvent.
Definition node.cpp:381
const std::string delay("delay")
const std::string weight("weight")
const std::string size_of("sizeof")
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