qpid/sys/Time.h File Reference

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

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Namespaces | Functions | Variables
qpid/sys/Time.h File Reference
`#include "qpid/sys/IntegerTypes.h"`
`#include "posix/Time.h"`
`#include "qpid/CommonImportExport.h"`
`#include <limits>`
`#include <iosfwd>`

Go to the source code of this file.

## Classes
class | qpid::sys::AbsTime
| Class to represent an instant in time. More...
class | qpid::sys::Duration
| Class to represent the duration between instants of time. More...
## Namespaces
namespace | qpid
| This file was automatically generated from the AMQP specification.
namespace | qpid::sys
## Functions
std::ostream & | qpid::sys::operator<< (std::ostream &, const AbsTime &)
std::ostream & | qpid::sys::operator<< (std::ostream &, const Duration &)
AbsTime | qpid::sys::now ()
bool | qpid::sys::operator< (const AbsTime &a, const AbsTime &b)
bool | qpid::sys::operator> (const AbsTime &a, const AbsTime &b)
void | qpid::sys::sleep (int secs)
| Portable sleep for a number of seconds.
void | qpid::sys::usleep (uint64_t usecs)
| Portable sleep for a number of microseconds.
void | qpid::sys::outputFormattedNow (std::ostream &)
| Output formatted date/time for now.
void | qpid::sys::outputHiresNow (std::ostream &)
| Output unformatted nanosecond-resolution time for now.
## Variables
const Duration | qpid::sys::TIME_SEC = 1000*1000*1000
| Nanoseconds per second.
const Duration | qpid::sys::TIME_MSEC = 1000*1000
| Nanoseconds per millisecond.
const Duration | qpid::sys::TIME_USEC = 1000
| Nanoseconds per microseconds.
const Duration | qpid::sys::TIME_NSEC = 1
| Nanoseconds per nanosecond.
const Duration | qpid::sys::TIME_INFINITE = std::numeric_limits<int64_t>::max()
| Value to represent an infinite timeout.
const AbsTime | qpid::sys::EPOCH = AbsTime::Epoch()
| Absolute time point for the Unix epoch: 1970-01-01T00:00:00.
const AbsTime | qpid::sys::FAR_FUTURE = AbsTime::FarFuture()
| Time greater than any other time.