phy::uint64_time< Bottom > Struct Template Reference

Timing information for PHY headers that just include an 64 bit timer. More...

#include <wipal/phy/phy.hh>

Inheritance diagram for phy::uint64_time< Bottom >:

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

List of all members.

Public Member Functions

 uint64_time ()
 uint64_time (uint64_t ms_count)
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 ()

Static hierarchies related types and methods.

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


Detailed Description

template<class Bottom = tool::bottom>
struct phy::uint64_time< Bottom >

Timing information for PHY headers that just include an 64 bit timer.

Member Typedef Documentation

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

Exact type for this template instanciation.

See also:
static_base

Reimplemented from phy::time< Bottom >.


Constructor & Destructor Documentation

template<class Bottom >
phy::uint64_time< Bottom >::uint64_time (  )  [inline]

Default constructor. Initialize the microseconds count to zero.

template<class Bottom >
phy::uint64_time< Bottom >::uint64_time ( uint64_t  ms_count  )  [inline]

Initialize the microseconds count according to the given argument.


Member Function Documentation

exact_type& tool::static_base< Bottom >::exact (  )  [inherited]

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

const exact_type& tool::static_base< Bottom >::exact (  )  const [inherited]

Safely downcast to the exact type as a const reference.

exact_type* tool::static_base< Bottom >::exact_ptr (  )  [inherited]

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

const exact_type* tool::static_base< Bottom >::exact_ptr (  )  const [inherited]

Safely downcast to the exact type as a const pointer.

impl_type phy::time< Bottom >::get (  )  const [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

exact_type phy::time< Bottom >::operator+ ( tool::microseconds  microseconds  )  const [inherited]

Add a microsecond count to the current time value.

See also:
operator+=()

exact_type& phy::time< Bottom >::operator+= ( tool::microseconds  microseconds  )  [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 on Wed Apr 22 22:52:43 2009 for wipal by  doxygen 1.5.8