Classes | Public Types | Public Member Functions | List of all members
spore::SporeTestConnection< targetidentifierT > Class Template Reference

Connection for testing the spore module. More...

#include <spore_test_connection.h>

Inheritance diagram for spore::SporeTestConnection< targetidentifierT >:
Inheritance graph
[legend]
Collaboration diagram for spore::SporeTestConnection< targetidentifierT >:
Collaboration graph
[legend]

Public Types

typedef SporeTestConnectionCommonProperties CommonPropertiesType
 Type to use for representing common synapse properties.
 
typedef nest::Connection< targetidentifierT > ConnectionBase
 Shortcut for base class.
 

Public Member Functions

 SporeTestConnection (const SporeTestConnection< targetidentifierT > &rhs)
 
void check_connection (nest::Node &s, nest::Node &t, nest::rport receptor_type, double t_lastspike, const CommonPropertiesType &cp)
 
void get_status (DictionaryDatum &d) const
 
void set_status (const DictionaryDatum &d, nest::ConnectorModel &cm)
 
void send (nest::Event &e, nest::thread t, double t_lastspike, const CommonPropertiesType &cp)
 
void set_weight (double w)
 
bool is_degenerated () const
 

Detailed Description

template<typename targetidentifierT>
class spore::SporeTestConnection< targetidentifierT >

Connection for testing the spore module.

SporeTestConnection class provides an interface for writing unit tests for the SPORE module.

Member Function Documentation

◆ is_degenerated()

template<typename targetidentifierT>
bool spore::SporeTestConnection< targetidentifierT >::is_degenerated ( ) const
inline
Returns
Never retract this synapse, so return always false.

◆ send()

template<typename targetidentifierT >
void spore::SporeTestConnection< targetidentifierT >::send ( nest::Event &  e,
nest::thread  thread,
double  t_last_spike,
const CommonPropertiesType cp 
)

Send an event to the postsynaptic neuron. This will update the synapse state and synaptic weights to the current slice origin and send the spike event. This method is also triggered by the ConnectionUpdateManager to indicate that the synapse is running out of data. In this case an invalid rport of -1 is passed and the spike is not delivered to the postsynaptic neuron.

Parameters
ethe spike event.
threadthe id of the connections thread.
t_last_spikethe time of the last spike.
cpthe synapse type common properties.

The documentation for this class was generated from the following file: