hpp-fcl  1.4.4
HPP fork of FCL -- The Flexible Collision Library
hpp::fcl::time Namespace Reference

Namespace containing time datatypes and time operations. More...

Typedefs

typedef boost::posix_time::ptime point
 Representation of a point in time. More...
 
typedef boost::posix_time::time_duration duration
 Representation of a time duration. More...
 

Functions

point now (void)
 Get the current time point. More...
 
duration seconds (double sec)
 Return the time duration representing a given number of seconds. More...
 
double seconds (const duration &d)
 Return the number of seconds that a time duration represents. More...
 

Detailed Description

Namespace containing time datatypes and time operations.

Typedef Documentation

◆ duration

typedef boost::posix_time::time_duration hpp::fcl::time::duration

Representation of a time duration.

◆ point

typedef boost::posix_time::ptime hpp::fcl::time::point

Representation of a point in time.

Function Documentation

◆ now()

point hpp::fcl::time::now ( void  )
inline

Get the current time point.

◆ seconds() [1/2]

duration hpp::fcl::time::seconds ( double  sec)
inline

Return the time duration representing a given number of seconds.

◆ seconds() [2/2]

double hpp::fcl::time::seconds ( const duration d)
inline

Return the number of seconds that a time duration represents.