My Project
UDK 3.2.7 C/C++ API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
salhelper::FutureQueue< element_type > Class Template Reference

#include <futurequeue.hxx>

Inheritance diagram for salhelper::FutureQueue< element_type >:
osl::Mutex

Public Member Functions

 FutureQueue ()
 Construction.
 ~FutureQueue ()
 Destruction.
void put (const element_type &element)
 Enqueue element at queue tail.
rtl::Reference
< salhelper::Future
< element_type > > 
get ()
 Dequeue a future to element at queue head.

Additional Inherited Members

- Protected Member Functions inherited from osl::Mutex
 Mutex ()
 Create a thread-local mutex.
 ~Mutex ()
 Release the OS-structures and free mutex data-structure.
sal_Bool acquire ()
 Acquire the mutex, block if already acquired by another thread.
sal_Bool tryToAcquire ()
 Try to acquire the mutex without blocking.
sal_Bool release ()
 Release the mutex.
- Static Protected Member Functions inherited from osl::Mutex
static MutexgetGlobalMutex ()
 Returns a global static mutex object.

Constructor & Destructor Documentation

template<class element_type>
salhelper::FutureQueue< element_type >::FutureQueue ( )
inline

Construction.

template<class element_type>
salhelper::FutureQueue< element_type >::~FutureQueue ( )
inline

Destruction.

Member Function Documentation

template<class element_type>
rtl::Reference< salhelper::Future<element_type> > salhelper::FutureQueue< element_type >::get ( )
inline

Dequeue a future to element at queue head.

template<class element_type>
void salhelper::FutureQueue< element_type >::put ( const element_type &  element)
inline

Enqueue element at queue tail.


The documentation for this class was generated from the following file: