OSXPlatformInterface Class Reference

#include <sbGStreamerPlatformOSX.h>

Inheritance diagram for OSXPlatformInterface:
[legend]
Collaboration diagram for OSXPlatformInterface:
[legend]

Public Member Functions

 OSXPlatformInterface (sbGStreamerMediacore *aCore)
 
virtual ~OSXPlatformInterface ()
 
GstElement * SetVideoSink (GstElement *aVideoSink)
 
GstElement * SetAudioSink (GstElement *aAudioSink)
 
virtual void ResizeToWindow ()
 
virtual void PrepareVideoWindow (GstMessage *aMessage)
 
void * GetVideoView ()
 
void OnMouseMoved (void *aCocoaEvent)
 
void OnWindowResized ()
 
- Public Member Functions inherited from BasePlatformInterface
 BasePlatformInterface (sbGStreamerMediacore *aCore)
 
virtual ~BasePlatformInterface ()
 
bool GetFullscreen ()
 
void SetFullscreen (bool aFullscreen)
 
void SetDisplayAspectRatio (int aNumerator, int aDenominator)
 
- Public Member Functions inherited from sbIGstPlatformInterface
virtual ~sbIGstPlatformInterface ()
 

Protected Member Functions

void MoveVideoWindow (int x, int y, int width, int height)
 
void SetXOverlayWindowID (GstXOverlay *aXOverlay)
 
void FullScreen ()
 
void UnFullScreen ()
 
nsresult SetVideoBox (nsIBoxObject *aBoxObject, nsIWidget *aWidget)
 
void RemoveView ()
 
- Protected Member Functions inherited from BasePlatformInterface
void SetDisplayArea (int x, int y, int width, int height)
 
void ResizeVideo ()
 
virtual nsresult SetDocument (nsIDOMDocument *aDocument)
 
nsresult CreateDOMMouseEvent (nsIDOMMouseEvent **aMouseEvent)
 
nsresult CreateDOMKeyEvent (nsIDOMKeyEvent **aKeyEvent)
 
nsresult DispatchDOMEvent (nsIDOMEvent *aEvent)
 

Protected Attributes

void * mParentView
 
void * mVideoView
 
void * mGstGLViewDelegate
 
- Protected Attributes inherited from BasePlatformInterface
int mDisplayWidth
 
int mDisplayHeight
 
int mDisplayX
 
int mDisplayY
 
int mDARNum
 
int mDARDenom
 
bool mFullscreen
 
nsCOMPtr< nsIBoxObject > mVideoBox
 
nsCOMPtr< nsIWidget > mWidget
 
nsCOMPtr< nsIDOMDocument > mDocument
 
GstElement * mVideoSink
 
GstElement * mAudioSink
 
sbGStreamerMediacoremCore
 

Detailed Description

Definition at line 37 of file sbGStreamerPlatformOSX.h.

Constructor & Destructor Documentation

OSXPlatformInterface::OSXPlatformInterface ( sbGStreamerMediacore aCore)

Definition at line 175 of file sbGStreamerPlatformOSX.mm.

OSXPlatformInterface::~OSXPlatformInterface ( )
virtual

Definition at line 185 of file sbGStreamerPlatformOSX.mm.

Here is the call graph for this function:

Member Function Documentation

void OSXPlatformInterface::FullScreen ( )
inlineprotectedvirtual

Implements BasePlatformInterface.

Definition at line 63 of file sbGStreamerPlatformOSX.h.

void * OSXPlatformInterface::GetVideoView ( )

Definition at line 332 of file sbGStreamerPlatformOSX.mm.

Here is the caller graph for this function:

void OSXPlatformInterface::MoveVideoWindow ( int  x,
int  y,
int  width,
int  height 
)
protectedvirtual

Implements BasePlatformInterface.

Definition at line 401 of file sbGStreamerPlatformOSX.mm.

Here is the call graph for this function:

void OSXPlatformInterface::OnMouseMoved ( void *  aCocoaEvent)

Definition at line 338 of file sbGStreamerPlatformOSX.mm.

Here is the call graph for this function:

Here is the caller graph for this function:

void OSXPlatformInterface::OnWindowResized ( )

Definition at line 395 of file sbGStreamerPlatformOSX.mm.

Here is the call graph for this function:

Here is the caller graph for this function:

void OSXPlatformInterface::PrepareVideoWindow ( GstMessage *  aMessage)
virtual

Reimplemented from BasePlatformInterface.

Definition at line 268 of file sbGStreamerPlatformOSX.mm.

Here is the call graph for this function:

void OSXPlatformInterface::RemoveView ( )
protected

Definition at line 426 of file sbGStreamerPlatformOSX.mm.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void OSXPlatformInterface::ResizeToWindow ( )
inlinevirtual

Reimplemented from BasePlatformInterface.

Definition at line 49 of file sbGStreamerPlatformOSX.h.

Here is the call graph for this function:

Here is the caller graph for this function:

GstElement * OSXPlatformInterface::SetAudioSink ( GstElement *  aAudioSink)
virtual

Implements sbIGstPlatformInterface.

Definition at line 225 of file sbGStreamerPlatformOSX.mm.

nsresult OSXPlatformInterface::SetVideoBox ( nsIBoxObject *  aBoxObject,
nsIWidget *  aWidget 
)
protectedvirtual

Reimplemented from BasePlatformInterface.

Definition at line 249 of file sbGStreamerPlatformOSX.mm.

Here is the call graph for this function:

GstElement * OSXPlatformInterface::SetVideoSink ( GstElement *  aVideoSink)
virtual

Implements sbIGstPlatformInterface.

Definition at line 196 of file sbGStreamerPlatformOSX.mm.

void OSXPlatformInterface::SetXOverlayWindowID ( GstXOverlay *  aXOverlay)
inlineprotectedvirtual

Implements BasePlatformInterface.

Definition at line 62 of file sbGStreamerPlatformOSX.h.

void OSXPlatformInterface::UnFullScreen ( )
inlineprotectedvirtual

Implements BasePlatformInterface.

Definition at line 64 of file sbGStreamerPlatformOSX.h.

Member Data Documentation

void* OSXPlatformInterface::mGstGLViewDelegate
protected

Definition at line 73 of file sbGStreamerPlatformOSX.h.

void* OSXPlatformInterface::mParentView
protected

Definition at line 71 of file sbGStreamerPlatformOSX.h.

void* OSXPlatformInterface::mVideoView
protected

Definition at line 72 of file sbGStreamerPlatformOSX.h.


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