wpl::phy::empty_time< Bottom > Struct Template Reference

Empty timing information. More...

#include <wipal/phy/empty.hh>

Inheritance diagram for wpl::phy::empty_time< Bottom >:
wpl::phy::time< Bottom > wpl::tool::static_base< Bottom >

List of all members.

Public Types

typedef HIDDEN exact_type
typedef HIDDEN impl_type

Public Member Functions

impl_type get_impl () const
exact_typeincrement (tool::microseconds microseconds)
impl_type get () const
exact_typeoperator+= (tool::microseconds microseconds)
exact_type operator+ (tool::microseconds microseconds) const
Downcast methods

const exact_typeexact () const
exact_typeexact ()
const exact_typeexact_ptr () const
exact_typeexact_ptr ()

Detailed Description

template<class Bottom = tool::bottom>
struct wpl::phy::empty_time< Bottom >

Empty timing information.

Use when a given PHY header contains no timing information. (e.g. phy::empty_header).


Member Typedef Documentation

template<class Bottom = tool::bottom>
typedef HIDDEN wpl::phy::empty_time< Bottom >::exact_type

Exact type for this template instanciation.

See also:
static_base

Reimplemented from wpl::phy::time< Bottom >.


Member Function Documentation

template<class B >
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.

See also:
phy::time
template<class B >
time< B >::exact_type wpl::phy::time< B >::operator+ ( tool::microseconds  microseconds  )  const [inline, inherited]

Add a microsecond count to the current time value.

See also:
operator+=()
template<class B >
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.


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

Generated by  doxygen 1.6.2