#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.
Namespaces | |
namespace | ucommon |
Data Structures | |
class | ucommon::Buffer |
A thread-safe buffer for serializing and streaming class data. More... | |
class | ucommon::bufferof< T > |
A templated typed class for buffering of objects. More... | |
class | ucommon::linked_allocator< T > |
Linked allocator template to gather linked objects. More... | |
class | ucommon::LinkedAllocator |
Linked allocator helper for linked_allocator template. More... | |
class | ucommon::Queue |
Manage a thread-safe queue of objects through reference pointers. More... | |
class | ucommon::queueof< T > |
A templated typed class for thread-safe queue of object pointers. More... | |
class | ucommon::Stack |
Manage a thread-safe stack of objects through reference pointers. More... | |
class | ucommon::stackof< T > |
A templated typed class for thread-safe stack of object pointers. More... | |
Typedefs | |
typedef Queue | ucommon::fifo_t |
Convenience type for using thread-safe object fifo (queue). | |
typedef Stack | ucommon::stack_t |
Convenience type for using thread-safe object stacks. |
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.