UCommon
|
A thread-safe atomic heap management system. More...
#include <ucommon/cpr.h>
#include <ucommon/atomic.h>
#include <ucommon/protocols.h>
#include <ucommon/generics.h>
#include <ucommon/object.h>
#include <ucommon/thread.h>
Go to the source code of this file.
Data Structures | |
class | ucommon::TypeRef |
Smart pointer base class for auto-retained objects. More... | |
class | ucommon::TypeRef::Counted |
Heap base-class container for typeref objects. More... | |
Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
Typedefs | |
typedef typeref< Type::Bools > | ucommon::boolref_t |
typedef const uint8_t * | ucommon::Type::Bools |
typedef typeref< Type::Bytes > | ucommon::byteref_t |
typedef const uint8_t * | ucommon::Type::Bytes |
typedef typeref< Type::Bytes >::value * | ucommon::bytevalues_t |
typedef const char * | ucommon::Type::Chars |
typedef typeref< Type::Chars >::value * | ucommon::charvalues_t |
typedef int32_t | ucommon::Type::Integer |
typedef double | ucommon::Type::Real |
typedef typeref< Type::Chars > | ucommon::stringref_t |
Functions | |
template<typename T > | |
typeref< T > | ucommon::typeref_cast (T x) |
Variables | |
TypeRelease | ucommon::auto_release |
TypeRelease | ucommon::release_later |
TypeRelease | ucommon::secure_release |
A thread-safe atomic heap management system.
This is used to manage immutable heap instances of object types that are reference counted and automatically deleted when no longer used. All references to the object are through smart typeref pointers. Both specific classes for strings and byte arrays, and generic templates to support generic types in the heap are offered.
Definition in file typeref.h.