#include <ProbMultiRegCam3DStr.h>
Public Member Functions | |
BearIdTime () | |
Default constructor. | |
BearIdTime (Angle az, Angle zn, int id, long int ttSec, long int ttUSec) | |
Complete constructor. | |
BearIdTime (bearStr bs, int id, long int ttSec, long int ttUSec) | |
Complete constructor. | |
~BearIdTime () | |
Destructor. | |
void | setTimeSec (long int sec) |
Set the time in second. | |
void | setTimeUSec (long int usec) |
Set the time in microseconds. | |
void | setTime (long int sec, long int usec) |
Set the two time variables. | |
long int | getTimeSec () |
Get the time in seconds. | |
long int | getTimeUSec () |
Get the time in microseconds. | |
bool | overTime (long int sec, long int usec) |
Check if the time in input is before or later the actual one. True after false before. | |
bool | underTime (long int sec, long int usec) |
Check if the time in input is before or later the actual one. True before false after. | |
Decimal | getTime () |
Get the entire time in seconds. | |
bool | underTime (Decimal sec) |
Check if the time in input is before or later the actual one. True before false after. Time in seconds as input. | |
bool | overTime (Decimal sec) |
Check if the time in input is before or later the actual one. True after false before. Time in seconds as input. | |
string | print () |
Print function. |
kybalg::BearIdTime::BearIdTime | ( | ) | [inline] |
Default constructor.
Complete constructor.
kybalg::BearIdTime::BearIdTime | ( | bearStr | bs, | |
int | id, | |||
long int | ttSec, | |||
long int | ttUSec | |||
) |
Complete constructor.
kybalg::BearIdTime::~BearIdTime | ( | ) |
Destructor.
void kybalg::BearIdTime::setTimeSec | ( | long int | sec | ) |
Set the time in second.
void kybalg::BearIdTime::setTimeUSec | ( | long int | usec | ) |
Set the time in microseconds.
void kybalg::BearIdTime::setTime | ( | long int | sec, | |
long int | usec | |||
) |
Set the two time variables.
long int kybalg::BearIdTime::getTimeSec | ( | ) |
Get the time in seconds.
long int kybalg::BearIdTime::getTimeUSec | ( | ) |
Get the time in microseconds.
bool kybalg::BearIdTime::overTime | ( | long int | sec, | |
long int | usec | |||
) |
Check if the time in input is before or later the actual one. True after false before.
bool kybalg::BearIdTime::underTime | ( | long int | sec, | |
long int | usec | |||
) |
Check if the time in input is before or later the actual one. True before false after.
Decimal kybalg::BearIdTime::getTime | ( | ) |
Get the entire time in seconds.
bool kybalg::BearIdTime::underTime | ( | Decimal | sec | ) |
Check if the time in input is before or later the actual one. True before false after. Time in seconds as input.
bool kybalg::BearIdTime::overTime | ( | Decimal | sec | ) |
Check if the time in input is before or later the actual one. True after false before. Time in seconds as input.
string kybalg::BearIdTime::print | ( | ) |
Print function.