Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

punnets_private::tsynapse_addfunc< debug > Class Template Reference
[Synapses]

Synapse class that adds a new function to the destination (postsynaptic) tneuron_ext. More...

#include <dneuron.h>

Inheritance diagram for punnets_private::tsynapse_addfunc< debug >:

punnets_common::tsynapse_base punnets_common::taction List of all members.

Public Methods

 tsynapse_addfunc (tneuron_base &isrc, tneuron_ext< debug > &idest, real idelay, func_base *ifunc, message_base *imess=NULL, real ilev=0.0)
 tsynapse_addfunc (tneuron_ext< debug > &idest, real idelay, func_base *ifunc, message_base *imess=NULL, real ilev=0.0)
virtual void setSrc (tneuron_base &isrc)
 Set the source neuron (presynaptic) of this synapse. A derived class should redefine this method.

virtual tneuron_base & getSrc () const
 Get the source neuron (pre-synaptic). A derived class should redefine this method.

virtual tneuron_ext< debug > & getDest () const
 Get the destination neuron (post-synaptic). A derived class should redefine this method.

virtual void activate (tscheduler &scheduler, ntime_t current_time)
 When activated, The synapse clones the function and added it to the destination neuron.

virtual tqueue * queue () const
 Obtain a local event queue of this action.


Detailed Description

template<bool debug>
class punnets_private::tsynapse_addfunc< debug >

Synapse class that adds a new function to the destination (postsynaptic) tneuron_ext.

Definition at line 734 of file dneuron.h.


Constructor & Destructor Documentation

template<bool debug>
punnets_private::tsynapse_addfunc< debug >::tsynapse_addfunc tneuron_base &    isrc,
tneuron_ext< debug > &    idest,
real    idelay,
func_base *    ifunc,
message_base *    imess = NULL,
real    ilev = 0.0
[inline]
 

Constructs add-function synapse with the specified source, destination, delay, a pointer to a function, a pointer to a message that is sent before adding, and immediate pulse level.

Definition at line 746 of file dneuron.h.

References punnets_common::real.

00747         : tsynapse_base(idelay), src(&isrc), dest(&idest), func(ifunc), mess(imess), lev(ilev) { }

template<bool debug>
punnets_private::tsynapse_addfunc< debug >::tsynapse_addfunc tneuron_ext< debug > &    idest,
real    idelay,
func_base *    ifunc,
message_base *    imess = NULL,
real    ilev = 0.0
[inline]
 

Constructs add-function synapse with the specified destination, delay, a pointer to a function, a pointer to a message that is sent before adding, and immediate pulse level.

Definition at line 750 of file dneuron.h.

References punnets_common::real.

00751         : tsynapse_base(idelay), src(NULL), dest(&idest), func(ifunc), mess(imess), lev(ilev) { }


The documentation for this class was generated from the following file:
Generated on Mon Jun 16 15:42:29 2003 for Punnets by doxygen1.2.18