|
typedef uint32_t | value_type |
|
typedef boost::units::make_scaled_unit< boost::units::si::time, boost::units::scale< 10, boost::units::static_rational<-3 > > >::type | unit_type |
|
typedef boost::units::absolute< unit_type > | absolute_unit_type |
|
typedef boost::units::quantity< absolute_unit_type, value_type > | time_type |
|
typedef boost::units::quantity< unit_type, value_type > | duration_type |
|
Definition at line 19 of file timestamp.hpp.
◆ absolute_unit_type
typedef boost::units::absolute<unit_type> vanetza::geonet::Timestamp::absolute_unit_type |
◆ duration_type
typedef boost::units::quantity<unit_type, value_type> vanetza::geonet::Timestamp::duration_type |
◆ time_type
typedef boost::units::quantity<absolute_unit_type, value_type> vanetza::geonet::Timestamp::time_type |
◆ unit_type
typedef boost::units::make_scaled_unit<boost::units::si::time,boost::units::scale<10,boost::units::static_rational<-3>>>::type vanetza::geonet::Timestamp::unit_type |
◆ value_type
typedef uint32_t vanetza::geonet::Timestamp::value_type |
◆ Timestamp() [1/4]
vanetza::geonet::Timestamp::Timestamp |
( |
| ) |
|
|
inline |
◆ Timestamp() [2/4]
vanetza::geonet::Timestamp::Timestamp |
( |
time_type |
t | ) |
|
|
inline |
◆ Timestamp() [3/4]
vanetza::geonet::Timestamp::Timestamp |
( |
const Clock::time_point & |
time | ) |
|
◆ Timestamp() [4/4]
vanetza::geonet::Timestamp::Timestamp |
( |
const boost::posix_time::ptime & |
time | ) |
|
◆ after()
bool vanetza::geonet::Timestamp::after |
( |
const Timestamp & |
other | ) |
const |
Timestamp is after other one
- Parameters
-
- Returns
- true is other timestamp is before
Definition at line 76 of file timestamp.cpp.
◆ before()
bool vanetza::geonet::Timestamp::before |
( |
const Timestamp & |
other | ) |
const |
Timestamp is before other one
- Parameters
-
- Returns
- true if other timestamp is later
Definition at line 71 of file timestamp.cpp.
◆ millisecond()
Timestamp::unit_type vanetza::geonet::Timestamp::millisecond |
( |
| ) |
|
|
static |
◆ operator+=()
Timestamp & vanetza::geonet::Timestamp::operator+= |
( |
duration_type |
rhs | ) |
|
◆ operator-=()
Timestamp & vanetza::geonet::Timestamp::operator-= |
( |
duration_type |
rhs | ) |
|
◆ quantity()
time_type vanetza::geonet::Timestamp::quantity |
( |
| ) |
const |
|
inline |
◆ raw()
value_type vanetza::geonet::Timestamp::raw |
( |
| ) |
const |
|
inline |
◆ start_time()
boost::posix_time::ptime vanetza::geonet::Timestamp::start_time |
( |
| ) |
|
|
static |
◆ m_timestamp
time_type vanetza::geonet::Timestamp::m_timestamp |
|
private |
The documentation for this class was generated from the following files: