OpenStructure
Public Member Functions | Static Public Member Functions
Progress Class Reference

#include <progress.hh>

Public Member Functions

virtual ~Progress ()
 
void Register (const void *process, unsigned long steps, unsigned long delta=1)
 
void DeRegister (const void *process)
 
void AdvanceProgress (const void *process, unsigned long step=1)
 
Real GetProgress ()
 
void AddCallback (void(*fpt)(void))
 
bool IsActive ()
 

Static Public Member Functions

static ProgressInstance ()
 

Detailed Description

Definition at line 36 of file progress.hh.

Constructor & Destructor Documentation

◆ ~Progress()

virtual ~Progress ( )
virtual

Member Function Documentation

◆ AddCallback()

void AddCallback ( void(*)(void)  fpt)
inline

Definition at line 45 of file progress.hh.

◆ AdvanceProgress()

void AdvanceProgress ( const void *  process,
unsigned long  step = 1 
)

◆ DeRegister()

void DeRegister ( const void *  process)

◆ GetProgress()

Real GetProgress ( )

◆ Instance()

static Progress& Instance ( )
static

◆ IsActive()

bool IsActive ( )
inline

Definition at line 46 of file progress.hh.

◆ Register()

void Register ( const void *  process,
unsigned long  steps,
unsigned long  delta = 1 
)

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