#include <sbBaseMediacoreEventTarget.h>
Public Member Functions | |
sbBaseMediacoreEventTarget (sbIMediacoreEventTarget *aTarget) | |
virtual | ~sbBaseMediacoreEventTarget () |
virtual nsresult | AddListener (sbIMediacoreEventListener *aListener) |
virtual nsresult | RemoveListener (sbIMediacoreEventListener *aListener) |
virtual nsresult | DispatchEvent (sbIMediacoreEvent *aEvent, PRBool aAsync, PRBool *aDispatched) |
Protected Member Functions | |
nsresult | DispatchEventInternal (sbIMediacoreEvent *aEvent, PRBool *_retval) |
Friends | |
class | RemovalHelper |
Base implementation of a mediacore event target. This class provides a thread safe implementation of an event target. All events are dispatched on the main thread. TODO: Revisit the main thread dispatching this may prove a bottleneck for media cores.
Definition at line 55 of file sbBaseMediacoreEventTarget.h.
sbBaseMediacoreEventTarget::sbBaseMediacoreEventTarget | ( | sbIMediacoreEventTarget * | aTarget | ) |
Constructor and destructor
Definition at line 40 of file sbBaseMediacoreEventTarget.cpp.
|
virtual |
Definition at line 45 of file sbBaseMediacoreEventTarget.cpp.
|
virtual |
Definition at line 138 of file sbBaseMediacoreEventTarget.cpp.
|
virtual |
Definition at line 53 of file sbBaseMediacoreEventTarget.cpp.
|
protected |
Definition at line 92 of file sbBaseMediacoreEventTarget.cpp.
|
virtual |
Definition at line 175 of file sbBaseMediacoreEventTarget.cpp.
|
friend |
Definition at line 100 of file sbBaseMediacoreEventTarget.h.