#include <ProbMultiRegCam3DStr.h>
Public Member Functions | |
Pose3DIdTime () | |
Default constructor. | |
Pose3DIdTime (Position3D pos, Orientation3D ori, int id, long int ttSec, long int ttUSec) | |
Complete constructor. | |
~Pose3DIdTime () | |
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 () |
Return time in seconds. | |
bool | underTime (Decimal sec) |
Check if the time in input is before or later the actual one. True after false before. Input in seconds. | |
bool | overTime (Decimal sec) |
Check if the time in input is before or later the actual one. True before false false. Input in seconds. | |
int | getId () |
Return the id of the object. | |
void | setId (int id) |
Set the id of the object. | |
string | print () |
Print function. |
kybalg::Pose3DIdTime::Pose3DIdTime | ( | ) | [inline] |
Default constructor.
kybalg::Pose3DIdTime::Pose3DIdTime | ( | Position3D | pos, | |
Orientation3D | ori, | |||
int | id, | |||
long int | ttSec, | |||
long int | ttUSec | |||
) |
Complete constructor.
kybalg::Pose3DIdTime::~Pose3DIdTime | ( | ) |
Destructor.
void kybalg::Pose3DIdTime::setTimeSec | ( | long int | sec | ) |
Set the time in second.
void kybalg::Pose3DIdTime::setTimeUSec | ( | long int | usec | ) |
Set the time in microseconds.
void kybalg::Pose3DIdTime::setTime | ( | long int | sec, | |
long int | usec | |||
) |
Set the two time variables.
long int kybalg::Pose3DIdTime::getTimeSec | ( | ) |
Get the time in seconds.
long int kybalg::Pose3DIdTime::getTimeUSec | ( | ) |
Get the time in microseconds.
bool kybalg::Pose3DIdTime::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::Pose3DIdTime::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::Pose3DIdTime::getTime | ( | ) |
Return time in seconds.
bool kybalg::Pose3DIdTime::underTime | ( | Decimal | sec | ) |
Check if the time in input is before or later the actual one. True after false before. Input in seconds.
bool kybalg::Pose3DIdTime::overTime | ( | Decimal | sec | ) |
Check if the time in input is before or later the actual one. True before false false. Input in seconds.
int kybalg::Pose3DIdTime::getId | ( | void | ) |
Return the id of the object.
void kybalg::Pose3DIdTime::setId | ( | int | id | ) |
Set the id of the object.
string kybalg::Pose3DIdTime::print | ( | ) |