Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
Public Member Functions | List of all members
qpid::sys::Duration Class Reference

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

#include <qpid/sys/Time.h>

Public Member Functions

QPID_COMMON_INLINE_EXTERN 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 115 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 Wed Feb 5 2014 for Qpid C++ Client API by doxygen 1.8.5