SingleChan Class Reference

#include <singlech.h>

Collaboration diagram for SingleChan:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SingleChan (const char *)
 SingleChan (OcMatrix *)
virtual ~SingleChan ()
void set_rates (double v)
void set_rates (OcMatrix *)
void set_rates (int, int, double tau)
const char * name (int)
int index (const char *)
int current_state ()
void current_state (int)
int cond (int)
void cond (int, int)
int current_cond ()
double state_transition ()
double cond_transition ()
void state_transitions (Vect *dt, Vect *state)
void cond_transitions (Vect *dt, Vect *cond)
int n ()
void get_rates (OcMatrix *)
void setrand (Rand *)

Public Attributes

SingleChanStatestate_

Private Member Functions

double erand1 ()
double erand2 ()

Private Attributes

double(SingleChan::* erand_ )()
Randr_
SingleChanInfoinfo_
NrnPropertynprop_
int current_

Constructor & Destructor Documentation

SingleChan::SingleChan ( const char *  name  ) 

References erand1(), erand_, hoc_execerror(), i, info_, SingleChanInfo::n_, nil, nprop_, r_, set_rates(), state_, and NrnProperty::type().

Here is the call graph for this function:

SingleChan::SingleChan ( OcMatrix m  ) 
SingleChan::~SingleChan (  )  [virtual]

References hoc_obj_unref(), info_, nprop_, Rand::obj_, r_, and state_.

Here is the call graph for this function:


Member Function Documentation

void SingleChan::cond ( int  i,
int  cond 
)

References SingleChanState::cond_, and state_.

int SingleChan::cond ( int  i  ) 

References SingleChanState::cond_, and state_.

Referenced by cond_transition(), and current_cond().

double SingleChan::cond_transition (  ) 

References cond(), current_, dt, i, and state_transition().

Referenced by cond_transitions().

Here is the call graph for this function:

void SingleChan::cond_transitions ( Vect *  dt,
Vect *  cond 
)

References cond_transition(), current_cond(), i, and n().

Here is the call graph for this function:

int SingleChan::current_cond (  ) 

References cond(), and current_.

Referenced by cond_transitions().

Here is the call graph for this function:

void SingleChan::current_state ( int  i  ) 

References current_.

int SingleChan::current_state (  ) 

References current_.

double SingleChan::erand1 (  )  [private]

References exprand().

Referenced by setrand(), and SingleChan().

Here is the call graph for this function:

double SingleChan::erand2 (  )  [private]

References r_, and Rand::rand.

Referenced by setrand().

void SingleChan::get_rates ( OcMatrix m  ) 
int SingleChan::index ( const char *  name  ) 
int SingleChan::n (  ) 
const char * SingleChan::name ( int  i  ) 

References nil.

void SingleChan::set_rates ( int  i,
int  j,
double  tau 
)

References assert, n(), s, state_, SingleChanState::tau_, and SingleChanState::to_state_.

Here is the call graph for this function:

void SingleChan::set_rates ( OcMatrix m  ) 

References assert, OcMatrix::getval(), i, info_, n(), SingleChanState::n_, SingleChanInfo::n_, nil, nprop_, OcMatrix::nrow(), SingleChanState::rate(), s, and state_.

Here is the call graph for this function:

void SingleChan::set_rates ( double  v  ) 

References Prop::dparam, SingleChanInfo::f_, i, info_, n(), SingleChanState::n_, SingleChanInfo::n_, nprop_, Prop::param, NrnProperty::prop(), and state_.

Referenced by SingleChan().

Here is the call graph for this function:

void SingleChan::setrand ( Rand r  ) 

References erand1(), erand2(), erand_, Rand::gen, hoc_obj_ref(), hoc_obj_unref(), Rand::obj_, r_, and Rand::rand.

Here is the call graph for this function:

double SingleChan::state_transition (  ) 

References current_, dt, erand_, i, n(), SingleChanState::n_, s, state_, t, SingleChanState::tau_, and SingleChanState::to_state_.

Referenced by cond_transition(), and state_transitions().

Here is the call graph for this function:

void SingleChan::state_transitions ( Vect *  dt,
Vect *  state 
)

References current_, i, n(), and state_transition().

Here is the call graph for this function:


Member Data Documentation

double(SingleChan::* SingleChan::erand_)() [private]

Referenced by n(), set_rates(), SingleChan(), and ~SingleChan().

Referenced by set_rates(), SingleChan(), and ~SingleChan().

Rand* SingleChan::r_ [private]

The documentation for this class was generated from the following files:
Generated on Mon Jun 13 08:10:32 2011 for NEURON by  doxygen 1.6.3