kybalg::Pose3DIdTime Class Reference

Pose of a robot in 3D with associated time (in sec and usec) and id. More...

#include <ProbMultiRegCam3DStr.h>

Inheritance diagram for kybalg::Pose3DIdTime:

Pose3D

List of all members.

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.


Detailed Description

Pose of a robot in 3D with associated time (in sec and usec) and id.

Author:
Marco Cognetti

Constructor & Destructor Documentation

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.


Member Function Documentation

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 (  ) 

Print function.

Reimplemented from Pose3D.


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

Generated on Mon Feb 20 07:01:10 2017 for MIP by  doxygen 1.5.6