ucommon/containers.h File Reference

Threadsafe object containers. More...

#include <ucommon/platform.h>
#include <ucommon/protocols.h>
#include <ucommon/linked.h>
#include <ucommon/memory.h>
#include <ucommon/thread.h>
Include dependency graph for containers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  Buffer
 A thread-safe buffer for serializing and streaming class data. More...
class  bufferof< T >
 A templated typed class for buffering of objects. More...
class  linked_allocator< T >
 Linked allocator template to gather linked objects. More...
class  LinkedAllocator
 Linked allocator helper for linked_allocator template. More...
class  Queue
 Manage a thread-safe queue of objects through reference pointers. More...
class  queueof< T >
 A templated typed class for thread-safe queue of object pointers. More...
class  Stack
 Manage a thread-safe stack of objects through reference pointers. More...
class  stackof< T >
 A templated typed class for thread-safe stack of object pointers. More...

Typedefs

typedef Queue fifo_t
 Convenience type for using thread-safe object fifo (queue).
typedef Stack stack_t
 Convenience type for using thread-safe object stacks.

Detailed Description

Threadsafe object containers.

This is used to better define object containers and manipulating classes which can be presumed to be fully threadsafe and thread-aware. This has to be defined separately to assure correct order of preceeding headers as well as to better organize the library for clarity. Most of these classes and templates work with classes derived from Object and LinkedObject and make use of conditional for time constrained acquisition of managed objects.

Definition in file containers.h.


Generated on 24 Sep 2014 for ucommon by  doxygen 1.6.1