#include <wipal/phy/empty.hh>
Static hierarchies related types and methods. | |
typedef HIDDEN | exact_type |
typedef HIDDEN | impl_type |
impl_type | get_impl () const |
exact_type & | increment (tool::microseconds microseconds) |
Public Member Functions | |
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 () |
Use when a given PHY header contains no timing information. (e.g. phy::empty_header).
typedef HIDDEN phy::empty_time< Bottom >::exact_type |
Exact type for this template instanciation.
Reimplemented from phy::time< Bottom >.
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.
References tool::static_base< Bottom >::exact().
time< B >::exact_type & 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.
time< B >::exact_type phy::time< B >::operator+ | ( | tool::microseconds | microseconds | ) | const [inline, inherited] |
Add a microsecond count to the current time value.
References tool::static_base< Bottom >::exact().
const static_base< Bottom >::exact_type & tool::static_base< Bottom >::exact | ( | ) | const [inline, inherited] |
Safely downcast to the exact type as a const reference.
Referenced by tool::iterable< Bottom >::begin(), phy::header< Bottom >::decapsulate(), tool::iterable< Bottom >::end(), phy::time< Bottom >::get(), phy::header< Bottom >::len(), phy::time< Bottom >::operator+(), phy::header< Bottom >::time_get(), and phy::header< Bottom >::time_set().
static_base< Bottom >::exact_type & tool::static_base< Bottom >::exact | ( | ) | [inline, inherited] |
Safely downcast to the exact type as a non-const reference.
const static_base< Bottom >::exact_type * tool::static_base< Bottom >::exact_ptr | ( | ) | const [inline, inherited] |
Safely downcast to the exact type as a const pointer.
static_base< Bottom >::exact_type * tool::static_base< Bottom >::exact_ptr | ( | ) | [inline, inherited] |
Safely downcast to the exact type as a non-const pointer.