| Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
Namespaces | |
| SystemInfo | |
| Retrieve information about the system we are running on. | |
Classes | |
| struct | Raisable |
| class | ExceptionHolder |
| Holder for exceptions. More... | |
| class | Monitor |
| A monitor is a condition variable and a mutex. More... | |
| class | ScopedLock |
| Scoped lock template: calls lock() in ctor, unlock() in dtor. More... | |
| class | ScopedUnlock |
| class | ScopedRlock |
| class | ScopedWlock |
| class | ConditionalScopedLock |
| class | Condition |
| A condition variable for thread synchronization. More... | |
| class | Mutex |
| Mutex lock. More... | |
| class | RWlock |
| RW lock. More... | |
| struct | PODMutex |
| PODMutex is a POD, can be static-initialized with PODMutex m = QPID_PODMUTEX_INITIALIZER. More... | |
| class | IOHandle |
| class | NullIOHandle |
| class | Runnable |
| Interface for objects that can be run, e.g. More... | |
| class | Thread |
| class | AbsTime |
| Class to represent an instant in time. More... | |
| class | Duration |
| Class to represent the duration between instants of time. More... | |
Typedefs | |
| typedef int64_t | TimePrivate |
| Class to represent an instant in time. More... | |
Functions | |
| struct timespec & | toTimespec (struct timespec &ts, const Duration &t) |
| struct timeval & | toTimeval (struct timeval &tv, const Duration &t) |
| Duration | toTime (const struct timespec &ts) |
| struct addrinfo & | getAddrInfo (const SocketAddress &) |
| std::string | strError (int err) |
| Get the error message for a system number err, e.g. More... | |
| std::ostream & | operator<< (std::ostream &, const AbsTime &) |
| std::ostream & | operator<< (std::ostream &, const Duration &) |
| std::istream & | operator>> (std::istream &, Duration &) |
| AbsTime | now () |
| bool | operator< (const AbsTime &a, const AbsTime &b) |
| bool | operator> (const AbsTime &a, const AbsTime &b) |
| void | sleep (int secs) |
| Portable sleep for a number of seconds. More... | |
| void | usleep (uint64_t usecs) |
| Portable sleep for a number of microseconds. More... | |
| void | outputFormattedNow (std::ostream &) |
| Output formatted date/time for now. More... | |
| void | outputHiresNow (std::ostream &) |
| Output unformatted nanosecond-resolution time for now. More... | |
Variables | |
| NullIOHandle | DummyIOHandle |
| const Duration | TIME_SEC = 1000*1000*1000 |
| Nanoseconds per second. More... | |
| const Duration | TIME_MSEC = 1000*1000 |
| Nanoseconds per millisecond. More... | |
| const Duration | TIME_USEC = 1000 |
| Nanoseconds per microseconds. More... | |
| const Duration | TIME_NSEC = 1 |
| Nanoseconds per nanosecond. More... | |
| const Duration | TIME_INFINITE = std::numeric_limits<int64_t>::max() |
| Value to represent an infinite timeout. More... | |
| const AbsTime | EPOCH = AbsTime::Epoch() |
| Absolute time point for the Unix epoch: 1970-01-01T00:00:00. More... | |
| const AbsTime | FAR_FUTURE = AbsTime::FarFuture() |
| Time greater than any other time. More... | |
| typedef boost::posix_time::ptime qpid::sys::TimePrivate |
| struct addrinfo& qpid::sys::getAddrInfo | ( | const SocketAddress & | ) |
|
inline |
Definition at line 130 of file Time.h.
References qpid::sys::AbsTime::now().
|
inline |
| std::ostream& qpid::sys::operator<< | ( | std::ostream & | , |
| const AbsTime & | |||
| ) |
| std::ostream& qpid::sys::operator<< | ( | std::ostream & | , |
| const Duration & | |||
| ) |
|
inline |
| std::istream& qpid::sys::operator>> | ( | std::istream & | , |
| Duration & | |||
| ) |
| 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.
| void qpid::sys::sleep | ( | int | secs | ) |
Portable sleep for a number of seconds.
| std::string qpid::sys::strError | ( | int | err | ) |
Get the error message for a system number err, e.g.
errno.
| Duration qpid::sys::toTime | ( | const struct timespec & | ts | ) |
| struct timespec& qpid::sys::toTimespec | ( | struct timespec & | ts, |
| const Duration & | t | ||
| ) |
Referenced by qpid::sys::Condition::wait().
| struct timeval& qpid::sys::toTimeval | ( | struct timeval & | tv, |
| const Duration & | t | ||
| ) |
| void qpid::sys::usleep | ( | uint64_t | usecs | ) |
Portable sleep for a number of microseconds.
| NullIOHandle qpid::sys::DummyIOHandle |
| const AbsTime qpid::sys::EPOCH = AbsTime::Epoch() |
Absolute time point for the Unix epoch: 1970-01-01T00:00:00.
Definition at line 157 of file Time.h.
Referenced by qpid::sys::Condition::wait().
| const AbsTime qpid::sys::FAR_FUTURE = AbsTime::FarFuture() |
| const Duration qpid::sys::TIME_INFINITE = std::numeric_limits<int64_t>::max() |
| const Duration qpid::sys::TIME_MSEC = 1000*1000 |
| const Duration qpid::sys::TIME_NSEC = 1 |
| const Duration qpid::sys::TIME_SEC = 1000*1000*1000 |
1.8.5