CacheObject Class Reference

#include <cache_object.h>

Inheritance diagram for CacheObject:
zmm::Object

Public Member Functions

 CacheObject ()
void debug ()
void setParentID (int parentID)
int getParentID ()
bool knowsParentID ()
void setRefID (int refID)
int getRefID ()
bool knowsRefID ()
void setObject (zmm::Ref< CdsObject > obj)
zmm::Ref< CdsObjectgetObject ()
bool knowsObject ()
void setNumChildren (int numChildren)
int getNumChildren ()
bool knowsNumChildren ()
void setObjectType (int objectType)
int getObjectType ()
bool knowsObjectType ()
void setLocation (zmm::String location)
zmm::String getLocation ()
bool knowsLocation ()
void setVirtual (bool virtualObj)
bool getVirtual ()
bool knowsVirtual ()
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

Private Attributes

int parentID
int refID
bool knowRefID
zmm::Ref< CdsObjectobj
bool knowNumChildren
int numChildren
int objectType
bool knowObjectType
bool virtualObj
bool knowVirtualObj
zmm::String location

Detailed Description

Definition at line 39 of file cache_object.h.


Constructor & Destructor Documentation

CacheObject::CacheObject (  ) 

Member Function Documentation

void CacheObject::debug (  ) 
zmm::String CacheObject::getLocation (  )  [inline]

Definition at line 67 of file cache_object.h.

References location.

int CacheObject::getNumChildren (  )  [inline]

Definition at line 59 of file cache_object.h.

References numChildren.

zmm::Ref<CdsObject> CacheObject::getObject (  )  [inline]

Definition at line 55 of file cache_object.h.

References obj.

int CacheObject::getObjectType (  )  [inline]

Definition at line 63 of file cache_object.h.

References objectType.

int CacheObject::getParentID (  )  [inline]

Definition at line 47 of file cache_object.h.

References parentID.

int Object::getRefCount (  )  [inherited]

Definition at line 78 of file object.cc.

References zmm::Object::_ref_count, and atomic_get().

int CacheObject::getRefID (  )  [inline]

Definition at line 51 of file cache_object.h.

References refID.

bool CacheObject::getVirtual (  )  [inline]

Definition at line 71 of file cache_object.h.

References virtualObj.

bool CacheObject::knowsLocation (  )  [inline]

Definition at line 68 of file cache_object.h.

References location, and nil.

Referenced by debug().

bool CacheObject::knowsNumChildren (  )  [inline]

Definition at line 60 of file cache_object.h.

References knowNumChildren.

Referenced by debug().

bool CacheObject::knowsObject (  )  [inline]

Definition at line 56 of file cache_object.h.

References nil, and obj.

Referenced by debug().

bool CacheObject::knowsObjectType (  )  [inline]

Definition at line 64 of file cache_object.h.

References knowObjectType.

Referenced by debug().

bool CacheObject::knowsParentID (  )  [inline]

Definition at line 48 of file cache_object.h.

References INVALID_OBJECT_ID, and parentID.

Referenced by debug().

bool CacheObject::knowsRefID (  )  [inline]

Definition at line 52 of file cache_object.h.

References knowRefID.

Referenced by debug().

bool CacheObject::knowsVirtual (  )  [inline]

Definition at line 72 of file cache_object.h.

References knowVirtualObj.

Referenced by debug().

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

Definition at line 87 of file object.cc.

References FREE.

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

Definition at line 83 of file object.cc.

References MALLOC.

void Object::release (  )  [inherited]
void Object::retain (  )  [inherited]
void CacheObject::setLocation ( zmm::String  location  )  [inline]

Definition at line 66 of file cache_object.h.

void CacheObject::setNumChildren ( int  numChildren  )  [inline]

Definition at line 58 of file cache_object.h.

References knowNumChildren.

void CacheObject::setObject ( zmm::Ref< CdsObject obj  ) 
void CacheObject::setObjectType ( int  objectType  )  [inline]

Definition at line 62 of file cache_object.h.

References knowObjectType.

Referenced by setObject().

void CacheObject::setParentID ( int  parentID  )  [inline]

Definition at line 46 of file cache_object.h.

Referenced by setObject().

void CacheObject::setRefID ( int  refID  )  [inline]

Definition at line 50 of file cache_object.h.

References knowRefID.

Referenced by setObject().

void CacheObject::setVirtual ( bool  virtualObj  )  [inline]

Definition at line 70 of file cache_object.h.

References knowVirtualObj.

Referenced by setObject().


Field Documentation

mt_atomic_t zmm::Object::_ref_count [protected, inherited]

Definition at line 80 of file cache_object.h.

Referenced by CacheObject(), knowsNumChildren(), and setNumChildren().

Definition at line 83 of file cache_object.h.

Referenced by CacheObject(), knowsObjectType(), and setObjectType().

bool CacheObject::knowRefID [private]

Definition at line 78 of file cache_object.h.

Referenced by CacheObject(), knowsRefID(), and setRefID().

Definition at line 85 of file cache_object.h.

Referenced by CacheObject(), knowsVirtual(), setObject(), and setVirtual().

Definition at line 87 of file cache_object.h.

Referenced by debug(), getLocation(), knowsLocation(), and setObject().

pthread_mutex_t zmm::Object::mutex [protected, inherited]
int CacheObject::numChildren [private]

Definition at line 81 of file cache_object.h.

Referenced by CacheObject(), debug(), and getNumChildren().

Definition at line 79 of file cache_object.h.

Referenced by CacheObject(), getObject(), and knowsObject().

int CacheObject::objectType [private]

Definition at line 82 of file cache_object.h.

Referenced by CacheObject(), debug(), getObjectType(), and setObject().

int CacheObject::parentID [private]

Definition at line 76 of file cache_object.h.

Referenced by CacheObject(), debug(), getParentID(), and knowsParentID().

int CacheObject::refID [private]

Definition at line 77 of file cache_object.h.

Referenced by CacheObject(), debug(), and getRefID().

bool CacheObject::virtualObj [private]

Definition at line 84 of file cache_object.h.

Referenced by CacheObject(), debug(), and getVirtual().


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

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