Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
Public Member Functions

qpid::sys::Duration Class Reference

Class to represent the duration between instants of time. More...

#include <qpid/sys/Time.h>

List of all members.

Public Member Functions

 Duration (int64_t time0=0)
 Duration (const AbsTime &start, const AbsTime &finish)
 operator int64_t () const

Detailed Description

Class to represent the duration between instants of time.

As AbsTime, this class also uses nanosecs for its time resolution where possible. For the most part a duration can be dealt with like a 64 bit integer, and indeed there is an implicit conversion which makes this quite convenient.

Definition at line 116 of file Time.h.


Constructor & Destructor Documentation

qpid::sys::Duration::Duration ( int64_t  time0 = 0) [inline]

Definition at line 137 of file Time.h.

qpid::sys::Duration::Duration ( const AbsTime start,
const AbsTime finish 
) [explicit]

Member Function Documentation

qpid::sys::Duration::operator int64_t ( ) const [inline]

Definition at line 141 of file Time.h.


The documentation for this class was generated from the following file:

Qpid C++ API Reference
Generated on Thu Apr 28 2011 12:13:23 for Qpid C++ Client API by doxygen 1.7.3