PlayHook Class Reference

#include <play_hook.h>

Inheritance diagram for PlayHook:
Singleton< PlayHook > zmm::Object

Public Member Functions

void trigger (zmm::Ref< CdsObject > obj)
void retain ()
void release ()
int getRefCount ()

Static Public Member Functions

static zmm::Ref< PlayHookgetInstance ()
static void * operator new (size_t size)
static void operator delete (void *ptr)

Protected Member Functions

virtual void init ()
virtual void shutdown ()
virtual void registerSingleton ()

Protected Attributes

mt_atomic_t _ref_count

Static Protected Attributes

static zmm::Ref< Mutexmutex
static zmm::Ref< PlayHookinstance
static bool singletonActive

Detailed Description

Definition at line 42 of file play_hook.h.


Member Function Documentation

static zmm::Ref<PlayHook > Singleton< PlayHook >::getInstance (  )  [inline, static, inherited]

Definition at line 62 of file singleton.h.

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

int Object::getRefCount (  )  [inherited]

Definition at line 78 of file object.cc.

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

virtual void Singleton< PlayHook >::init (  )  [inline, protected, virtual, inherited]

Definition at line 87 of file singleton.h.

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.

virtual void Singleton< PlayHook >::registerSingleton (  )  [inline, protected, virtual, inherited]

Definition at line 94 of file singleton.h.

void Object::release (  )  [inherited]
void Object::retain (  )  [inherited]
virtual void Singleton< PlayHook >::shutdown (  )  [inline, protected, virtual, inherited]

Definition at line 88 of file singleton.h.

void PlayHook::trigger ( zmm::Ref< CdsObject obj  ) 

Field Documentation

mt_atomic_t zmm::Object::_ref_count [protected, inherited]
zmm::Ref<PlayHook > Singleton< PlayHook >::instance [static, protected, inherited]

Definition at line 91 of file singleton.h.

zmm::Ref<Mutex> Singleton< PlayHook >::mutex [static, protected, inherited]

Reimplemented from zmm::Object.

Definition at line 90 of file singleton.h.

bool Singleton< PlayHook >::singletonActive [static, protected, inherited]

Definition at line 92 of file singleton.h.


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