LLMediaEmitter< T > Class Template Reference

#include <llmediaemitter.h>

Inheritance diagram for LLMediaEmitter< T >:

Inheritance graph
[legend]
Collaboration diagram for LLMediaEmitter< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef T::EventType EventType
typedef std::list< T * > ObserverContainer
typedef void(T::*) observerMethod (const EventType &)

Public Member Functions

 LLMediaEmitter ()
 ~LLMediaEmitter ()
BOOL addObserver (T *observerIn)
BOOL remObserver (T *observerIn)
void update (observerMethod method, const EventType &msgIn)

Protected Attributes

ObserverContainer observers

Detailed Description

template<class T>
class LLMediaEmitter< T >

Definition at line 47 of file llmediaemitter.h.


Member Typedef Documentation

template<class T>
typedef T::EventType LLMediaEmitter< T >::EventType

Definition at line 50 of file llmediaemitter.h.

template<class T>
typedef std::list< T* > LLMediaEmitter< T >::ObserverContainer

Definition at line 51 of file llmediaemitter.h.

template<class T>
typedef void( T::*) LLMediaEmitter< T >::observerMethod(const EventType &)

Definition at line 52 of file llmediaemitter.h.


Constructor & Destructor Documentation

template<class T>
LLMediaEmitter< T >::LLMediaEmitter (  )  [inline]

Definition at line 58 of file llmediaemitter.h.

template<class T>
LLMediaEmitter< T >::~LLMediaEmitter (  )  [inline]

Definition at line 62 of file llmediaemitter.h.


Member Function Documentation

template<class T>
BOOL LLMediaEmitter< T >::addObserver ( T *  observerIn  )  [inline]

Definition at line 68 of file llmediaemitter.h.

Referenced by LLMediaBase::addMediaObserver().

template<class T>
BOOL LLMediaEmitter< T >::remObserver ( T *  observerIn  )  [inline]

Definition at line 85 of file llmediaemitter.h.

Referenced by LLMediaBase::remMediaObserver().

template<class T>
void LLMediaEmitter< T >::update ( observerMethod  method,
const EventType msgIn 
) [inline]

Definition at line 97 of file llmediaemitter.h.

Referenced by LLMediaBase::init(), LLMediaBase::load(), LLMediaMovieBase::pause(), LLMediaMovieBase::play(), LLMediaMovieBase::stop(), and LLMediaBase::unload().


Member Data Documentation

template<class T>
ObserverContainer LLMediaEmitter< T >::observers [protected]

Definition at line 55 of file llmediaemitter.h.

Referenced by LLMediaEmitter< LLMediaObserver >::addObserver(), LLMediaEmitter< LLMediaObserver >::remObserver(), and LLMediaEmitter< LLMediaObserver >::update().


The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:11:30 2010 for Second Life Viewer by  doxygen 1.4.7