Timer::TimerSubscriberElement< T > Class Template Reference

#include <timer.h>

Inheritance diagram for Timer::TimerSubscriberElement< T >:
zmm::Object

Public Member Functions

 TimerSubscriberElement (zmm::Ref< T > subscriber, unsigned int notifyInterval, zmm::Ref< zmm::Object > parameter, bool once=false)
unsigned int getNotifyInterval ()
zmm::Ref< T > getSubscriber ()
void notified ()
struct timespec * getNextNotify ()
zmm::Ref< zmm::ObjectgetParameter ()
bool equals (zmm::Ref< TimerSubscriberElement > other)
bool isOnce ()
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

zmm::Ref< T > subscriber
unsigned int notifyInterval
zmm::Ref< zmm::Objectparameter
struct timespec nextNotify
bool once
mt_atomic_t _ref_count
pthread_mutex_t mutex

Detailed Description

template<class T>
class Timer::TimerSubscriberElement< T >

Definition at line 125 of file timer.h.


Constructor & Destructor Documentation

template<class T >
Timer::TimerSubscriberElement< T >::TimerSubscriberElement ( zmm::Ref< T >  subscriber,
unsigned int  notifyInterval,
zmm::Ref< zmm::Object parameter,
bool  once = false 
) [inline]

Member Function Documentation

template<class T >
bool Timer::TimerSubscriberElement< T >::equals ( zmm::Ref< TimerSubscriberElement< T > >  other  )  [inline]
template<class T >
struct timespec* Timer::TimerSubscriberElement< T >::getNextNotify (  )  [inline, read]

Definition at line 139 of file timer.h.

References Timer::TimerSubscriberElement< T >::nextNotify.

template<class T >
unsigned int Timer::TimerSubscriberElement< T >::getNotifyInterval (  )  [inline]

Definition at line 136 of file timer.h.

References Timer::TimerSubscriberElement< T >::notifyInterval.

template<class T >
zmm::Ref<zmm::Object> Timer::TimerSubscriberElement< T >::getParameter (  )  [inline]

Definition at line 140 of file timer.h.

References Timer::TimerSubscriberElement< T >::parameter.

int Object::getRefCount (  )  [inherited]

Definition at line 78 of file object.cc.

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

template<class T >
zmm::Ref<T> Timer::TimerSubscriberElement< T >::getSubscriber (  )  [inline]

Definition at line 137 of file timer.h.

References Timer::TimerSubscriberElement< T >::subscriber.

template<class T >
bool Timer::TimerSubscriberElement< T >::isOnce (  )  [inline]

Definition at line 142 of file timer.h.

References Timer::TimerSubscriberElement< T >::once.

template<class T >
void Timer::TimerSubscriberElement< T >::notified (  )  [inline]
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]

Field Documentation

mt_atomic_t zmm::Object::_ref_count [protected, inherited]
pthread_mutex_t zmm::Object::mutex [protected, inherited]
template<class T >
struct timespec Timer::TimerSubscriberElement< T >::nextNotify [read, protected]
template<class T >
unsigned int Timer::TimerSubscriberElement< T >::notifyInterval [protected]
template<class T >
bool Timer::TimerSubscriberElement< T >::once [protected]
template<class T >
zmm::Ref<zmm::Object> Timer::TimerSubscriberElement< T >::parameter [protected]
template<class T >
zmm::Ref<T> Timer::TimerSubscriberElement< T >::subscriber [protected]

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

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