Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

result< T > Class Template Reference

List of all members.

template<class T>
class result< T >


Public Types

typedef Callback< bool > waiter_type
typedef Callback< void, result<
T > * > 
callback_type

Public Methods

 result ()
 result (waiter_type waiter)
bool ready ()
bool success ()
wait ()
operator * () const
T * operator-> () const
result< T > & add (callback_type cb)
result< T > & remove (callback_type cb)
void set (const T &t)
void post ()
void post (const T &t)

Protected Methods

 result (rep *r)

Friends

class rep

Member Typedef Documentation

template<class T>
typedef Callback< void, result<T>* > result< T >::callback_type
 

template<class T>
typedef Callback< bool > result< T >::waiter_type
 


Constructor & Destructor Documentation

template<class T>
result< T >::result rep *    r [protected]
 

template<class T>
result< T >::result  
 

template<class T>
result< T >::result waiter_type    waiter
 


Member Function Documentation

template<class T>
result<T>& result< T >::add callback_type    cb
 

template<class T>
T result< T >::operator *   const
 

template<class T>
T* result< T >::operator->   const
 

template<class T>
void result< T >::post const T &    t
 

template<class T>
void result< T >::post  
 

template<class T>
bool result< T >::ready  
 

template<class T>
result<T>& result< T >::remove callback_type    cb
 

template<class T>
void result< T >::set const T &    t
 

template<class T>
bool result< T >::success  
 

template<class T>
T result< T >::wait  
 


Friends And Related Function Documentation

template<class T>
friend class rep [friend]
 


The documentation for this class was generated from the following file:
Generated on Fri Dec 20 13:35:11 2002 for NMSTL