NEURON
WatchCondition Class Reference

#include <netcon.h>

Inheritance diagram for WatchCondition:
ConditionEvent HTList DiscreteEvent STECondition

Public Member Functions

 WatchCondition (Point_process *, double(*)(Point_process *))
 
virtual ~WatchCondition ()
 
virtual double value ()
 
virtual void send (double, NetCvode *, NrnThread *)
 
virtual void deliver (double, NetCvode *, NrnThread *)
 
virtual void pr (const char *, double t, NetCvode *)
 
void activate (double flag)
 
virtual void asf_err ()
 
virtual int pgvts_op (int &i)
 
virtual void pgvts_deliver (double t, NetCvode *)
 
virtual NrnThreadthread ()
 
- Public Member Functions inherited from ConditionEvent
 ConditionEvent ()
 
virtual ~ConditionEvent ()
 
virtual void check (NrnThread *, double sendtime, double teps=0.0)
 
void condition (Cvode *)
 
void abandon_statistics (Cvode *)
 
- Public Member Functions inherited from DiscreteEvent
 DiscreteEvent ()
 
virtual ~DiscreteEvent ()
 
virtual void disconnect (Observable *)
 
virtual int type ()
 
virtual DiscreteEventsavestate_save ()
 
virtual void savestate_restore (double deliverytime, NetCvode *)
 
virtual void savestate_write (FILE *)
 
virtual void frecord_init (TQItem *)
 
- Public Member Functions inherited from HTList
 HTList (void *=NULL)
 
virtual ~HTList ()
 
bool IsEmpty ()
 
void Append (HTList *)
 
void Prepend (HTList *)
 
void Remove (HTList *)
 
void Remove ()
 
void RemoveAll ()
 
void Delete (void *)
 
HTListFind (void *)
 
HTListFirst ()
 
HTListLast ()
 
HTListEnd ()
 
HTListNext ()
 
HTListPrev ()
 
void * vptr ()
 
void * operator() ()
 
HTListoperator[] (int count)
 

Public Attributes

double nrflag_
 
Point_processpnt_
 
double(* c_ )(Point_process *)
 
int watch_index_
 
- Public Attributes inherited from ConditionEvent
double valold_
 
double told_
 
double valthresh_
 
TQItemqthresh_
 
bool flag_
 

Static Public Attributes

static unsigned long watch_send_
 
static unsigned long watch_deliver_
 
- Static Public Attributes inherited from ConditionEvent
static unsigned long init_above_
 
static unsigned long send_qthresh_
 
static unsigned long abandon_
 
static unsigned long eq_abandon_
 
static unsigned long abandon_init_above_
 
static unsigned long abandon_init_below_
 
static unsigned long abandon_above_
 
static unsigned long abandon_below_
 
static unsigned long deliver_qthresh_
 
- Static Public Attributes inherited from DiscreteEvent
static unsigned long discretevent_send_
 
static unsigned long discretevent_deliver_
 

Additional Inherited Members

- Static Public Member Functions inherited from DiscreteEvent
static DiscreteEventsavestate_read (FILE *)
 
- Protected Attributes inherited from HTList
void * _object
 
HTList_next
 
HTList_prev
 

Detailed Description

Definition at line 215 of file netcon.h.

Constructor & Destructor Documentation

◆ WatchCondition()

WatchCondition::WatchCondition ( Point_process pnt,
double(*)(Point_process *)  c 
)

Definition at line 5278 of file netcvode.cpp.

◆ ~WatchCondition()

WatchCondition::~WatchCondition ( )
virtual

Definition at line 5284 of file netcvode.cpp.

Member Function Documentation

◆ activate()

void WatchCondition::activate ( double  flag)

Definition at line 5292 of file netcvode.cpp.

◆ asf_err()

void WatchCondition::asf_err ( )
virtual

Implements ConditionEvent.

Definition at line 5318 of file netcvode.cpp.

◆ deliver()

void WatchCondition::deliver ( double  tt,
NetCvode ns,
NrnThread nt 
)
virtual

Reimplemented from DiscreteEvent.

Reimplemented in STECondition.

Definition at line 5331 of file netcvode.cpp.

◆ pgvts_deliver()

void WatchCondition::pgvts_deliver ( double  t,
NetCvode ns 
)
virtual

Reimplemented from DiscreteEvent.

Reimplemented in STECondition.

Definition at line 5428 of file netcvode.cpp.

◆ pgvts_op()

virtual int WatchCondition::pgvts_op ( int &  i)
inlinevirtual

Reimplemented from DiscreteEvent.

Definition at line 227 of file netcon.h.

◆ pr()

void WatchCondition::pr ( const char *  s,
double  t,
NetCvode ns 
)
virtual

Reimplemented from DiscreteEvent.

Definition at line 5460 of file netcvode.cpp.

◆ send()

void WatchCondition::send ( double  tt,
NetCvode nc,
NrnThread nt 
)
virtual

Reimplemented from DiscreteEvent.

Definition at line 5326 of file netcvode.cpp.

◆ thread()

NrnThread * WatchCondition::thread ( )
virtual

Reimplemented from DiscreteEvent.

Reimplemented in STECondition.

Definition at line 5415 of file netcvode.cpp.

◆ value()

virtual double WatchCondition::value ( )
inlinevirtual

Reimplemented from ConditionEvent.

Reimplemented in STECondition.

Definition at line 219 of file netcon.h.

Member Data Documentation

◆ c_

double(* WatchCondition::c_) (Point_process *)

Definition at line 236 of file netcon.h.

◆ nrflag_

double WatchCondition::nrflag_

Definition at line 234 of file netcon.h.

◆ pnt_

Point_process* WatchCondition::pnt_

Definition at line 235 of file netcon.h.

◆ watch_deliver_

unsigned long WatchCondition::watch_deliver_
static

Definition at line 244 of file netcon.h.

◆ watch_index_

int WatchCondition::watch_index_

Definition at line 241 of file netcon.h.

◆ watch_send_

unsigned long WatchCondition::watch_send_
static

Definition at line 243 of file netcon.h.


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