phy::empty_time< Bottom > Struct Template Reference

Empty timing information. More...

#include <wipal/phy/empty.hh>

Inheritance diagram for phy::empty_time< Bottom >:

phy::time< Bottom > tool::static_base< Bottom >

List of all members.

Static hierarchies related types and methods.

typedef HIDDEN exact_type
typedef HIDDEN impl_type
impl_type get_impl () const
exact_typeincrement (tool::microseconds microseconds)

Public Member Functions

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 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 phy::empty_time< Bottom >::exact_type

Exact type for this template instanciation.

See also:
static_base

Reimplemented from phy::time< Bottom >.


Member Function Documentation

template<class B>
time< B >::impl_type 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

References tool::static_base< Bottom >::exact().

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

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

Add a microsecond count to the current time value.

See also:
operator+=()

References tool::static_base< Bottom >::exact().

template<class Bottom>
const static_base< Bottom >::exact_type & tool::static_base< Bottom >::exact (  )  const [inline, inherited]

template<class Bottom>
static_base< Bottom >::exact_type & tool::static_base< Bottom >::exact (  )  [inline, inherited]

Safely downcast to the exact type as a non-const reference.

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

template<class Bottom>
static_base< Bottom >::exact_type * tool::static_base< Bottom >::exact_ptr (  )  [inline, inherited]

Safely downcast to the exact type as a non-const pointer.


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

Generated on Thu Feb 21 18:54:22 2008 for wipal by  doxygen 1.5.5