EGS Brachy
An egs++ user code for rapid brachytherapy calculations
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
EB_Timer Class Reference

#include <timing.h>

Public Member Functions

 EB_Timer (string tname, int level)
 
void start ()
 
void stop ()
 
EGS_Float getElapsedTime ()
 
EGS_Float getStartTime ()
 
EGS_Float getStop ()
 
EGS_Float getDuration ()
 
string getName ()
 
bool isStopped ()
 
bool isRunning ()
 
int getLevel ()
 

Private Attributes

string name
 
EGS_Timer timer
 
EGS_Float start_time
 
EGS_Float stop_time
 
int nested_level
 

Detailed Description

Definition at line 47 of file timing.h.

Constructor & Destructor Documentation

◆ EB_Timer()

EB_Timer::EB_Timer ( string  tname,
int  level 
)
inline

Definition at line 56 of file timing.h.

Member Function Documentation

◆ getDuration()

EGS_Float EB_Timer::getDuration ( )
inline

Definition at line 84 of file timing.h.

◆ getElapsedTime()

EGS_Float EB_Timer::getElapsedTime ( )
inline

Definition at line 72 of file timing.h.

◆ getLevel()

int EB_Timer::getLevel ( )
inline

Definition at line 103 of file timing.h.

◆ getName()

string EB_Timer::getName ( )
inline

Definition at line 91 of file timing.h.

◆ getStartTime()

EGS_Float EB_Timer::getStartTime ( )
inline

Definition at line 76 of file timing.h.

◆ getStop()

EGS_Float EB_Timer::getStop ( )
inline

Definition at line 80 of file timing.h.

◆ isRunning()

bool EB_Timer::isRunning ( )
inline

Definition at line 99 of file timing.h.

◆ isStopped()

bool EB_Timer::isStopped ( )
inline

Definition at line 95 of file timing.h.

◆ start()

void EB_Timer::start ( )
inline

Definition at line 63 of file timing.h.

◆ stop()

void EB_Timer::stop ( )
inline

Definition at line 68 of file timing.h.

Member Data Documentation

◆ name

string EB_Timer::name
private

Definition at line 49 of file timing.h.

◆ nested_level

int EB_Timer::nested_level
private

Definition at line 53 of file timing.h.

◆ start_time

EGS_Float EB_Timer::start_time
private

Definition at line 51 of file timing.h.

◆ stop_time

EGS_Float EB_Timer::stop_time
private

Definition at line 52 of file timing.h.

◆ timer

EGS_Timer EB_Timer::timer
private

Definition at line 50 of file timing.h.


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