BasePlatformInterface Class Referenceabstract

#include <sbGStreamerPlatformBase.h>

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

Public Member Functions

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

Protected Member Functions

virtual nsresult SetVideoBox (nsIBoxObject *aVideoBox, nsIWidget *aWidget)
 
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)
 
virtual void MoveVideoWindow (int x, int y, int width, int height)=0
 
virtual void SetXOverlayWindowID (GstXOverlay *aXOverlay)=0
 
virtual void FullScreen ()=0
 
virtual void UnFullScreen ()=0
 

Protected Attributes

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 41 of file sbGStreamerPlatformBase.h.

Constructor & Destructor Documentation

BasePlatformInterface::BasePlatformInterface ( sbGStreamerMediacore aCore)

Definition at line 62 of file sbGStreamerPlatformBase.cpp.

BasePlatformInterface::~BasePlatformInterface ( )
virtual

Definition at line 78 of file sbGStreamerPlatformBase.cpp.

Member Function Documentation

nsresult BasePlatformInterface::CreateDOMKeyEvent ( nsIDOMKeyEvent **  aKeyEvent)
protected

Definition at line 256 of file sbGStreamerPlatformBase.cpp.

nsresult BasePlatformInterface::CreateDOMMouseEvent ( nsIDOMMouseEvent **  aMouseEvent)
protected

Definition at line 234 of file sbGStreamerPlatformBase.cpp.

Here is the caller graph for this function:

nsresult BasePlatformInterface::DispatchDOMEvent ( nsIDOMEvent aEvent)
protected

Definition at line 278 of file sbGStreamerPlatformBase.cpp.

Here is the caller graph for this function:

virtual void BasePlatformInterface::FullScreen ( )
protectedpure virtual

Implemented in OSXPlatformInterface, GDKPlatformInterface, and Win32PlatformInterface.

Here is the caller graph for this function:

bool BasePlatformInterface::GetFullscreen ( )
virtual

Implements sbIGstPlatformInterface.

Definition at line 87 of file sbGStreamerPlatformBase.cpp.

virtual void BasePlatformInterface::MoveVideoWindow ( int  x,
int  y,
int  width,
int  height 
)
protectedpure virtual

Implemented in OSXPlatformInterface, GDKPlatformInterface, and Win32PlatformInterface.

Here is the caller graph for this function:

void BasePlatformInterface::PrepareVideoWindow ( GstMessage *  aMessage)
virtual

Implements sbIGstPlatformInterface.

Reimplemented in OSXPlatformInterface.

Definition at line 188 of file sbGStreamerPlatformBase.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void BasePlatformInterface::ResizeToWindow ( )
virtual

Implements sbIGstPlatformInterface.

Reimplemented in OSXPlatformInterface.

Definition at line 111 of file sbGStreamerPlatformBase.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void BasePlatformInterface::ResizeVideo ( )
protected

Definition at line 147 of file sbGStreamerPlatformBase.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void BasePlatformInterface::SetDisplayArea ( int  x,
int  y,
int  width,
int  height 
)
protected

Definition at line 137 of file sbGStreamerPlatformBase.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void BasePlatformInterface::SetDisplayAspectRatio ( int  aNumerator,
int  aDenominator 
)
virtual

Implements sbIGstPlatformInterface.

Definition at line 179 of file sbGStreamerPlatformBase.cpp.

Here is the call graph for this function:

nsresult BasePlatformInterface::SetDocument ( nsIDOMDocument *  aDocument)
protectedvirtual

Implements sbIGstPlatformInterface.

Definition at line 226 of file sbGStreamerPlatformBase.cpp.

void BasePlatformInterface::SetFullscreen ( bool  aFullscreen)
virtual

Implements sbIGstPlatformInterface.

Definition at line 93 of file sbGStreamerPlatformBase.cpp.

Here is the call graph for this function:

nsresult BasePlatformInterface::SetVideoBox ( nsIBoxObject *  aVideoBox,
nsIWidget *  aWidget 
)
protectedvirtual

Implements sbIGstPlatformInterface.

Reimplemented in OSXPlatformInterface, GDKPlatformInterface, and Win32PlatformInterface.

Definition at line 217 of file sbGStreamerPlatformBase.cpp.

Here is the caller graph for this function:

virtual void BasePlatformInterface::SetXOverlayWindowID ( GstXOverlay *  aXOverlay)
protectedpure virtual

Implemented in OSXPlatformInterface, GDKPlatformInterface, and Win32PlatformInterface.

Here is the caller graph for this function:

virtual void BasePlatformInterface::UnFullScreen ( )
protectedpure virtual

Implemented in OSXPlatformInterface, GDKPlatformInterface, and Win32PlatformInterface.

Here is the caller graph for this function:

Member Data Documentation

GstElement* BasePlatformInterface::mAudioSink
protected

Definition at line 107 of file sbGStreamerPlatformBase.h.

sbGStreamerMediacore* BasePlatformInterface::mCore
protected

Definition at line 109 of file sbGStreamerPlatformBase.h.

int BasePlatformInterface::mDARDenom
protected

Definition at line 94 of file sbGStreamerPlatformBase.h.

int BasePlatformInterface::mDARNum
protected

Definition at line 93 of file sbGStreamerPlatformBase.h.

int BasePlatformInterface::mDisplayHeight
protected

Definition at line 89 of file sbGStreamerPlatformBase.h.

int BasePlatformInterface::mDisplayWidth
protected

Definition at line 88 of file sbGStreamerPlatformBase.h.

int BasePlatformInterface::mDisplayX
protected

Definition at line 90 of file sbGStreamerPlatformBase.h.

int BasePlatformInterface::mDisplayY
protected

Definition at line 91 of file sbGStreamerPlatformBase.h.

nsCOMPtr<nsIDOMDocument> BasePlatformInterface::mDocument
protected

Definition at line 104 of file sbGStreamerPlatformBase.h.

bool BasePlatformInterface::mFullscreen
protected

Definition at line 96 of file sbGStreamerPlatformBase.h.

nsCOMPtr<nsIBoxObject> BasePlatformInterface::mVideoBox
protected

Definition at line 100 of file sbGStreamerPlatformBase.h.

GstElement* BasePlatformInterface::mVideoSink
protected

Definition at line 106 of file sbGStreamerPlatformBase.h.

nsCOMPtr<nsIWidget> BasePlatformInterface::mWidget
protected

Definition at line 102 of file sbGStreamerPlatformBase.h.


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