Realistic 3D camera system
3D camera system components
Classes | Public Types | Static Public Member Functions | List of all members
time_t_traits Struct Reference

Classes

struct  duration_type
 

Public Types

typedef std::time_t time_type
 

Static Public Member Functions

static time_type now ()
 
static time_type add (const time_type &t, const duration_type &d)
 
static duration_type subtract (const time_type &t1, const time_type &t2)
 
static bool less_than (const time_type &t1, const time_type &t2)
 
static boost::posix_time::time_duration to_posix_duration (const duration_type &d)
 

Detailed Description

Definition at line 15 of file time_t_timer.cpp.

Member Typedef Documentation

typedef std::time_t time_t_traits::time_type

Definition at line 18 of file time_t_timer.cpp.

Member Function Documentation

static time_type time_t_traits::add ( const time_type t,
const duration_type d 
)
inlinestatic

Definition at line 35 of file time_t_timer.cpp.

static bool time_t_traits::less_than ( const time_type t1,
const time_type t2 
)
inlinestatic

Definition at line 47 of file time_t_timer.cpp.

static time_type time_t_traits::now ( )
inlinestatic

Definition at line 29 of file time_t_timer.cpp.

static duration_type time_t_traits::subtract ( const time_type t1,
const time_type t2 
)
inlinestatic

Definition at line 41 of file time_t_timer.cpp.

static boost::posix_time::time_duration time_t_traits::to_posix_duration ( const duration_type d)
inlinestatic

Definition at line 53 of file time_t_timer.cpp.


The documentation for this struct was generated from the following file: