Marine Library  1.0
C++ library for Linux Networking Development
Public Types | Public Member Functions | List of all members
CLockQueue< T, Container > Class Template Reference

Public Types

typedef CMutex lock_type
 
typedef CGuard< lock_typeguard_type
 
typedef Container container_type
 
typedef container_type::value_type value_type
 
typedef container_type::size_type size_type
 
typedef container_type::reference reference
 
typedef container_type::iterator iterator
 
typedef container_type::const_reference const_reference
 
typedef container_type::const_iterator const_iterator
 

Public Member Functions

 CLockQueue (size_t capacity=kCapacityDefault)
 
 CLockQueue (const container_type &con, size_t capacity=kCapacityDefault)
 
size_type capacity () const
 
void capacity (size_type c)
 
bool empty () const volatile
 
size_type size () const volatile
 
bool push (const_reference v, int32_t timeMs=-1)
 
bool pushFront (const_reference v, int32_t timeMs=-1)
 
bool pushAll (container_type &con, int32_t timeMs=-1)
 
bool pop (reference v, int32_t timeMs=-1)
 
bool popAll (container_type &con, int32_t timeMs=-1)
 
size_t topSize () const volatile
 
size_t resetTopSize () volatile
 

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