zmm::Object Class Reference

#include <object.h>

Inheritance diagram for zmm::Object:
ActionRequest AutoscanDirectory AutoscanInotify AutoscanInotify::Watch AutoscanInotify::Wd AutoscanList zmm::BaseArray< int > zmm::BaseQueue< Object * > zmm::BaseStack< Object * > BrowseParam CachedURL CacheObject CdsObject CdsResource CdsResourceManager CdsResourceManager::UrlBase CMAccounting Cond ConfigOption ContentManager::TimerParameter Destroyer DHashBase< KT, ST > DHashBase< KT, KT > DHashBase< KT, struct dbb_hash_slot< KT, VT > > DHashBase< KT, struct dbo_hash_slot< KT, VT > > DHashBase< KT, struct dbr_hash_slot< KT > > DHashBase< zmm::String, struct dsb_hash_slot< VT > > DHashBase< zmm::String, struct dso_hash_slot< VT > > Dictionary DictionaryElement DVDNavReader Executor Filesystem FsObject GenericTask Inotify IOHandler Layout Matcher MetadataHandler Mutex MutexAutolock mxml::Attribute mxml::Context mxml::Node mxml::Parser mxml::XML2JSON ObjectDictionary< T > ObjectDictionaryElement< T > ProcListItem RequestHandler RExp Script Singleton< T > Singleton< ConfigManager > Singleton< ConnectionManagerService > Singleton< ContentDirectoryService > Singleton< ContentManager > Singleton< PlayHook > Singleton< Runtime > Singleton< Server > Singleton< SessionManager > Singleton< Storage > Singleton< Timer > Singleton< UpdateManager > SingletonManager SQLResult SQLRow StorageCache StringConverter SubscriptionRequest Timer::TimerSubscriberElement< T > TimerSubscriberObject TranscodeHandler XPath zmm::Array< T > zmm::BaseArray< T > zmm::BaseQueue< T > zmm::BaseStack< T > zmm::StringBase zmm::StringBuffer zmm::StringTokenizer

Public Member Functions

 Object ()
virtual ~Object ()
void retain ()
void release ()
int getRefCount ()

Static Public Member Functions

static void * operator new (size_t size)
static void operator delete (void *ptr)

Protected Attributes

mt_atomic_t _ref_count
pthread_mutex_t mutex

Detailed Description

Definition at line 42 of file object.h.

Constructor & Destructor Documentation

Object::Object (  ) 

Definition at line 44 of file

References _ref_count, atomic_set(), mutex, and NULL.

Object::~Object (  )  [virtual]

Definition at line 51 of file

References mutex.

Member Function Documentation

int Object::getRefCount (  ) 

Definition at line 78 of file

References _ref_count, and atomic_get().

void Object::operator delete ( void *  ptr  )  [static]

Definition at line 87 of file

References FREE.

void * Object::operator new ( size_t  size  )  [static]

Definition at line 83 of file

References MALLOC.

void Object::release (  ) 
void Object::retain (  ) 

Field Documentation

Definition at line 54 of file object.h.

Referenced by getRefCount(), Object(), release(), and retain().

pthread_mutex_t zmm::Object::mutex [protected]

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

Generated on Fri Mar 26 20:16:58 2010 for MediaTomb by  doxygen 1.6.1