openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
Public Member Functions | Public Attributes | List of all members
opencarp::base_timer Struct Referenceabstract

#include <timer_utils.h>

Inheritance diagram for opencarp::base_timer:
Collaboration diagram for opencarp::base_timer:

Public Member Functions

virtual void update ()=0
 
virtual void reset ()=0
 
void assign_pool (const char *poolname)
 

Public Attributes

t_timer type
 type of timer, continuous equidistant, or non-equidistant More...
 
const char * name
 timer name More...
 
bool triggered
 flag indicating trigger at current time step More...
 
int trigger_count
 count number of triggered IO events More...
 
int numIOs
 total number of triggers during simulation More...
 
double trigger_dur
 triggered event duration (e.g.,stim duration) More...
 
long d_trigger_dur
 discrete duration More...
 
int active
 count down to end of a trigger with duration More...
 
std::string pool
 label of pool (IO || TS || STIM || ...) to which timer belongs More...
 

Detailed Description

Definition at line 51 of file timer_utils.h.

Member Function Documentation

◆ assign_pool()

void opencarp::base_timer::assign_pool ( const char *  poolname)
inline

Definition at line 65 of file timer_utils.h.

Here is the caller graph for this function:

◆ reset()

virtual void opencarp::base_timer::reset ( )
pure virtual

◆ update()

virtual void opencarp::base_timer::update ( )
pure virtual

Member Data Documentation

◆ active

int opencarp::base_timer::active

count down to end of a trigger with duration

Definition at line 59 of file timer_utils.h.

◆ d_trigger_dur

long opencarp::base_timer::d_trigger_dur

discrete duration

Definition at line 58 of file timer_utils.h.

◆ name

const char* opencarp::base_timer::name

timer name

Definition at line 53 of file timer_utils.h.

◆ numIOs

int opencarp::base_timer::numIOs

total number of triggers during simulation

Definition at line 56 of file timer_utils.h.

◆ pool

std::string opencarp::base_timer::pool

label of pool (IO || TS || STIM || ...) to which timer belongs

Definition at line 60 of file timer_utils.h.

◆ trigger_count

int opencarp::base_timer::trigger_count

count number of triggered IO events

Definition at line 55 of file timer_utils.h.

◆ trigger_dur

double opencarp::base_timer::trigger_dur

triggered event duration (e.g.,stim duration)

Definition at line 57 of file timer_utils.h.

◆ triggered

bool opencarp::base_timer::triggered

flag indicating trigger at current time step

Definition at line 54 of file timer_utils.h.

◆ type

t_timer opencarp::base_timer::type

type of timer, continuous equidistant, or non-equidistant

Definition at line 52 of file timer_utils.h.


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