library of assembled shared sources |
http://lass.cocamware.com |
See:. More...
#include <future.h>
Data Structures | |
struct | Impl |
Public Member Functions | |
Future () | |
const bool | isBound () const |
const bool | operator! () const |
operator num::SafeBool () const | |
void | wait () |
const WaitResult | wait (unsigned long milliSeconds) |
const T & | operator() () const |
void | bind (const T &value) |
void | unbind () |
void | error (const experimental::RemoteExceptionBase &error) |
template<typename ExceptionType > | |
void | error (const ExceptionType &error) |
Private Types | |
typedef util::Semaphore | TMutex |
typedef util::Locker< TMutex > | TLocker |
typedef util::IntrusiveCounter < Impl, size_t,&Impl::referenceCount_ > | TCounterPolicy |
typedef util::SharedPtr< Impl, util::ObjectStorage, TCounterPolicy > | TImplPtr |
Private Attributes | |
TImplPtr | pimpl_ |
See:.
Definition at line 86 of file future.h.
typedef util::Semaphore lass::util::experimental::Future< T >::TMutex [private] |
typedef util::Locker<TMutex> lass::util::experimental::Future< T >::TLocker [private] |
typedef util::IntrusiveCounter<Impl, size_t, &Impl::referenceCount_> lass::util::experimental::Future< T >::TCounterPolicy [private] |
typedef util::SharedPtr<Impl, util::ObjectStorage, TCounterPolicy> lass::util::experimental::Future< T >::TImplPtr [private] |
lass::util::experimental::Future< T >::Future | ( | ) | [inline] |
const bool lass::util::experimental::Future< T >::isBound | ( | ) | const [inline] |
Definition at line 92 of file future.h.
References lass::util::SharedPtr< T, StoragePolicy, CounterPolicy >::get(), and lass::util::experimental::Future< T >::pimpl_.
Referenced by lass::util::experimental::Future< T >::operator num::SafeBool(), and lass::util::experimental::Future< T >::operator!().
const bool lass::util::experimental::Future< T >::operator! | ( | ) | const [inline] |
Definition at line 97 of file future.h.
References lass::util::experimental::Future< T >::isBound().
lass::util::experimental::Future< T >::operator num::SafeBool | ( | ) | const [inline] |
Definition at line 98 of file future.h.
References lass::util::experimental::Future< T >::isBound(), lass::num::safeFalse, and lass::num::safeTrue.
void lass::util::experimental::Future< T >::wait | ( | ) | [inline] |
const WaitResult lass::util::experimental::Future< T >::wait | ( | unsigned long | milliSeconds | ) | [inline] |
Definition at line 107 of file future.h.
References lass::util::waitSuccess, and lass::util::waitTimeout.
const T& lass::util::experimental::Future< T >::operator() | ( | ) | const [inline] |
void lass::util::experimental::Future< T >::bind | ( | const T & | value | ) | [inline] |
void lass::util::experimental::Future< T >::unbind | ( | ) | [inline] |
void lass::util::experimental::Future< T >::error | ( | const experimental::RemoteExceptionBase & | error | ) | [inline] |
Definition at line 144 of file future.h.
References lass::util::experimental::RemoteExceptionBase::clone().
void lass::util::experimental::Future< T >::error | ( | const ExceptionType & | error | ) | [inline] |
TImplPtr lass::util::experimental::Future< T >::pimpl_ [private] |
Definition at line 205 of file future.h.
Referenced by lass::util::experimental::Future< T >::isBound().
Generated on Mon Nov 10 14:22:17 2008 for Library of Assembled Shared Sources by 1.5.7.1 |