ucommon  7.0.0
About: GNU uCommon C++ is a portable and optimized class framework for writing C++ applications that need to use threads and support concurrent synchronization, and that use sockets, XML parsing, object serialization, thread-optimized string and data structure classes, etc..
  Fossies Dox: ucommon-7.0.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Loading...
Searching...
No Matches
ucommon::TypeRelease Class Reference

#include <typeref.h>

Inheritance diagram for ucommon::TypeRelease:
[legend]
Collaboration diagram for ucommon::TypeRelease:
[legend]

Public Member Functions

 TypeRelease ()
 
 TypeRelease (TypeRelease *target)
 
virtual unsigned purge ()
 
virtual caddr_t allocate (size_t size)
 

Protected Member Functions

void enlist (TypeRef::Counted **root, TypeRef::Counted *obj)
 
TypeRef::Counteddelist (TypeRef::Counted **root)
 
virtual void release (TypeRef::Counted *obj)
 
void dealloc (TypeRef::Counted *obj)
 
size_t size (TypeRef::Counted *obj)
 

Protected Attributes

TypeReleasedelegate
 

Friends

class TypeRef::Counted
 

Detailed Description

Definition at line 266 of file typeref.h.

Constructor & Destructor Documentation

◆ TypeRelease() [1/2]

ucommon::TypeRelease::TypeRelease ( )
inline

Definition at line 269 of file typeref.h.

◆ TypeRelease() [2/2]

ucommon::TypeRelease::TypeRelease ( TypeRelease target)
inline

Definition at line 273 of file typeref.h.

Member Function Documentation

◆ allocate()

caddr_t ucommon::TypeRelease::allocate ( size_t  size)
virtual

Definition at line 654 of file typeref.cpp.

References ucommon::Thread::cache(), caddr_t, and ucommon::TypeRef::size().

Referenced by ucommon::ArrayRef::create(), and ucommon::MapRef::create().

Here is the call graph for this function:

◆ dealloc()

void ucommon::TypeRelease::dealloc ( TypeRef::Counted obj)
protected

Definition at line 690 of file typeref.cpp.

Referenced by ucommon::TypeRef::Counted::dealloc().

◆ delist()

TypeRef::Counted * ucommon::TypeRelease::delist ( TypeRef::Counted **  root)
protected

◆ enlist()

void ucommon::TypeRelease::enlist ( TypeRef::Counted **  root,
TypeRef::Counted obj 
)
protected

Definition at line 672 of file typeref.cpp.

References ucommon::TypeRef::Counted::linkrelease.

◆ purge()

unsigned ucommon::TypeRelease::purge ( void  )
virtual

Reimplemented in ucommon::__FINAL.

Definition at line 665 of file typeref.cpp.

◆ release()

void ucommon::TypeRelease::release ( TypeRef::Counted obj)
protectedvirtual

Reimplemented in ucommon::__FINAL, and ucommon::__FINAL.

Definition at line 659 of file typeref.cpp.

References ucommon::TypeRef::Counted::autorelease, and ucommon::TypeRef::Counted::dealloc().

Here is the call graph for this function:

◆ size()

size_t ucommon::TypeRelease::size ( TypeRef::Counted obj)
inlineprotected

Definition at line 294 of file typeref.h.

References ucommon::TypeRef::Counted::size.

Friends And Related Function Documentation

◆ TypeRef::Counted

friend class TypeRef::Counted
friend

Definition at line 282 of file typeref.h.

Member Data Documentation

◆ delegate

TypeRelease* ucommon::TypeRelease::delegate
protected

Definition at line 284 of file typeref.h.


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