Empty timing information. More...
#include <wipal/phy/empty.hh>
Public Types | |
typedef HIDDEN | exact_type |
typedef HIDDEN | impl_type |
Public Member Functions | |
impl_type | get_impl () const |
exact_type & | increment (tool::microseconds microseconds) |
impl_type | get () const |
exact_type & | operator+= (tool::microseconds microseconds) |
exact_type | operator+ (tool::microseconds microseconds) const |
Downcast methods | |
const exact_type & | exact () const |
exact_type & | exact () |
const exact_type * | exact_ptr () const |
exact_type * | exact_ptr () |
Empty timing information.
Use when a given PHY header contains no timing information. (e.g. phy::empty_header).
typedef HIDDEN wpl::phy::empty_time< Bottom >::exact_type |
Exact type for this template instanciation.
Reimplemented from wpl::phy::time< Bottom >.
time< B >::impl_type wpl::phy::time< B >::get | ( | ) | const [inline, inherited] |
Retrieve the timestamp to use for synchronization.
This method calls get_impl()
which must be defined in subclasses. Do not override it. Define get_impl()
in subclasses instead.
time< B >::exact_type wpl::phy::time< B >::operator+ | ( | tool::microseconds | microseconds | ) | const [inline, inherited] |
Add a microsecond count to the current time value.
time< B >::exact_type & wpl::phy::time< B >::operator+= | ( | tool::microseconds | microseconds | ) | [inline, inherited] |
Add a microsecond count to the current time value.
This methods calls increment()
which must be defined in subclasses. Do not override it. Define increment()
in subclasses instead.
increment()
must return a reference to itself.