kybalg::BearIdTime Class Reference

Bearing feature set (a vector of bearing-only measurements) with associated time (in sec and usec). More...

#include <ProbMultiRegCam3DStr.h>

Inheritance diagram for kybalg::BearIdTime:

kybalg::ObjId< T >

List of all members.

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.


Detailed Description

Bearing feature set (a vector of bearing-only measurements) with associated time (in sec and usec).

Author:
Marco Cognetti

Constructor & Destructor Documentation

kybalg::BearIdTime::BearIdTime (  )  [inline]

Default constructor.

kybalg::BearIdTime::BearIdTime ( Angle  az,
Angle  zn,
int  id,
long int  ttSec,
long int  ttUSec 
)

Complete constructor.

kybalg::BearIdTime::BearIdTime ( bearStr  bs,
int  id,
long int  ttSec,
long int  ttUSec 
)

Complete constructor.

kybalg::BearIdTime::~BearIdTime (  ) 

Destructor.


Member Function Documentation

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.


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