FallbackLayout Class Reference

#include <fallback_layout.h>

Inheritance diagram for FallbackLayout:
Layout zmm::Object

Public Member Functions

 FallbackLayout ()
virtual void processCdsObject (zmm::Ref< CdsObject > obj, zmm::String rootpath)
void retain ()
void release ()
int getRefCount ()

Static Public Member Functions

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

Protected Member Functions

void add (zmm::Ref< CdsObject > obj, int parentID, bool use_ref=true)
zmm::String esc (zmm::String str)
void addVideo (zmm::Ref< CdsObject > obj, zmm::String rootpath)
void addImage (zmm::Ref< CdsObject > obj, zmm::String rootpath)
void addAudio (zmm::Ref< CdsObject > obj)

Protected Attributes

mt_atomic_t _ref_count
pthread_mutex_t mutex

Detailed Description

Definition at line 41 of file fallback_layout.h.


Constructor & Destructor Documentation

FallbackLayout::FallbackLayout (  ) 

Member Function Documentation

void FallbackLayout::add ( zmm::Ref< CdsObject obj,
int  parentID,
bool  use_ref = true 
) [protected]
void FallbackLayout::addAudio ( zmm::Ref< CdsObject obj  )  [protected]
void FallbackLayout::addImage ( zmm::Ref< CdsObject obj,
zmm::String  rootpath 
) [protected]
void FallbackLayout::addVideo ( zmm::Ref< CdsObject obj,
zmm::String  rootpath 
) [protected]
zmm::String FallbackLayout::esc ( zmm::String  str  )  [protected]

Definition at line 81 of file fallback_layout.cc.

References escape(), VIRTUAL_CONTAINER_ESCAPE, and VIRTUAL_CONTAINER_SEPARATOR.

Referenced by addAudio(), addImage(), and addVideo().

int Object::getRefCount (  )  [inherited]

Definition at line 78 of file object.cc.

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

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 FallbackLayout::processCdsObject ( zmm::Ref< CdsObject obj,
zmm::String  rootpath 
) [virtual]
void Object::release (  )  [inherited]
void Object::retain (  )  [inherited]

Field Documentation

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

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

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