#include <PaceMaker.h>
Public Attributes | |
void(* | pToFunc )(void *) |
void * | Pdata |
Static Public Attributes | |
static double | CLOCK = CTime::getRefTime()*time_scale |
static double | clockspeed = 0.01 |
static const double | time_scale = 1000 / (double)CTime::getRefTicksPerSec() |
static HANDLE | clockThread = NULL |
Protected Attributes | |
int | ProcessID |
double | frequency |
double | endTime |
HANDLE | handleThread |
int | version |
Public Member Functions | |
PaceMaker () | |
default constructor: will create a process runed continually with no end. More... | |
PaceMaker (double fr) | |
PaceMaker (double fr, double end) | |
~PaceMaker () | |
bool | createPace () |
void | functionToApply () |
const int | getPaceMakerID () |
const double | getFrequency () |
const double | getendTime () |
Static Public Member Functions | |
static void | runclock () |
|
static |
|
static |
|
static |
|
protected |
|
protected |
|
protected |
void* sofa::component::controller::PaceMaker::Pdata |
|
protected |
void(* sofa::component::controller::PaceMaker::pToFunc) (void *) |
|
static |
|
protected |
sofa::component::controller::PaceMaker::PaceMaker | ( | ) |
default constructor: will create a process runed continually with no end.
sofa::component::controller::PaceMaker::PaceMaker | ( | double | fr | ) |
sofa::component::controller::PaceMaker::PaceMaker | ( | double | fr, |
double | end | ||
) |
sofa::component::controller::PaceMaker::~PaceMaker | ( | ) |
bool sofa::component::controller::PaceMaker::createPace | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |