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.

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)

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 ()


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

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.

Referenced by pcapxx::frame_descriptor< PCAPDescriptor >::frame_descriptor().

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 Jul 31 16:39:04 2008 for wipal by  doxygen 1.5.6