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..
![]() ![]() |
#include <memory.h>
Public Member Functions | |
void * | operator* () const |
![]() | |
virtual | ~LinkedObject () |
virtual void | release (void) __OVERRIDE |
Release list, mark as no longer linked. More... | |
virtual void | retain (void) __OVERRIDE |
Retain by marking as self referenced list. More... | |
void | enlist (LinkedObject **root) |
Add our object to an existing linked list through a pointer. More... | |
void | delist (LinkedObject **root) |
Locate and remove ourselves from a list of objects. More... | |
bool | is_member (LinkedObject *list) const |
Search to see if we are a member of a specific list. More... | |
LinkedObject * | getNext (void) const |
Get next effective object when iterating. More... | |
Protected Member Functions | |
void | set (member *node) |
void * | get (void) const |
member (LinkedObject **root) | |
member () | |
![]() | |
LinkedObject (LinkedObject **root) | |
Construct base class attached to a chain of objects. More... | |
LinkedObject () | |
Construct base class unattached to anyone. More... | |
LinkedObject (const LinkedObject &from) | |
Private Attributes | |
void * | mem |
Friends | |
class | ObjectPager |
Additional Inherited Members | |
![]() | |
static void | purge (LinkedObject *root) |
Release all objects from a list. More... | |
static unsigned | count (const LinkedObject *root) |
Count the number of linked objects in a list. More... | |
static LinkedObject * | getIndexed (LinkedObject *root, unsigned index) |
Get member by index. More... | |
![]() | |
LinkedObject * | Next |
|
protected |
Definition at line 300 of file memory.cpp.
References mem.
|
protected |
Definition at line 306 of file memory.cpp.
References mem.
|
inlineprotected |
|
inline |
|
inlineprotected |
Definition at line 273 of file memory.h.
Referenced by ucommon::ObjectPager::add().
|
friend |
|
private |
Definition at line 268 of file memory.h.
Referenced by ucommon::ObjectPager::add(), member(), ucommon::ObjectPager::pop(), ucommon::ObjectPager::pull(), and ucommon::ObjectPager::push().