DVDHandler Class Reference

This class is responsible for parsing DVDs and DVD ISO images. More...

#include <dvd_handler.h>

Inheritance diagram for DVDHandler:
MetadataHandler zmm::Object

Public Member Functions

 DVDHandler ()
virtual void fillMetadata (zmm::Ref< CdsItem > item)
virtual zmm::Ref< IOHandlerserveContent (zmm::Ref< CdsItem > item, int resNum, off_t *data_size)
virtual zmm::String getMimeType ()
void retain ()
void release ()
int getRefCount ()

Static Public Member Functions

static zmm::String renderKey (dvd_aux_key_names_t name, int title_idx=0, int chapter_idx=0, int audio_track_idx=0)
 Helper function to construct the key names for DVD aux data.
static void setMetadata (zmm::Ref< CdsItem > item)
static zmm::String getMetaFieldName (metadata_fields_t field)
static zmm::String getResAttrName (resource_attributes_t attr)
static zmm::Ref< MetadataHandlercreateHandler (int handlerType)
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

This class is responsible for parsing DVDs and DVD ISO images.

Definition at line 67 of file dvd_handler.h.

Constructor & Destructor Documentation

DVDHandler::DVDHandler (  ) 

Member Function Documentation

Ref< MetadataHandler > MetadataHandler::createHandler ( int  handlerType  )  [static, inherited]

Definition at line 257 of file metadata_handler.cc.

References _, _Exception, CH_FFTH, CH_ID3, CH_LIBEXIF, and CH_MP4.

Referenced by FileRequestHandler::get_info(), and FileRequestHandler::open().

virtual void DVDHandler::fillMetadata ( zmm::Ref< CdsItem item  )  [virtual]

Implements MetadataHandler.

String MetadataHandler::getMetaFieldName ( metadata_fields_t  field  )  [static, inherited]
String MetadataHandler::getMimeType (  )  [virtual, inherited]

Reimplemented in FfmpegHandler.

Definition at line 285 of file metadata_handler.cc.

References _, and MIMETYPE_DEFAULT.

int Object::getRefCount (  )  [inherited]

Definition at line 78 of file object.cc.

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

String MetadataHandler::getResAttrName ( resource_attributes_t  attr  )  [static, inherited]
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]
static zmm::String DVDHandler::renderKey ( dvd_aux_key_names_t  name,
int  title_idx = 0,
int  chapter_idx = 0,
int  audio_track_idx = 0 
) [static]

Helper function to construct the key names for DVD aux data.

Referenced by FileRequestHandler::get_info(), and FileRequestHandler::open().

void Object::retain (  )  [inherited]
virtual zmm::Ref<IOHandler> DVDHandler::serveContent ( zmm::Ref< CdsItem item,
int  resNum,
off_t *  data_size 
) [virtual]

Implements MetadataHandler.

void MetadataHandler::setMetadata ( zmm::Ref< CdsItem item  )  [static, 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 file:

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