VoutManager Class Reference

Singleton object handling VLC internal state and playlist. More...

Inheritance diagram for VoutManager:

Inheritance graph
[legend]
Collaboration diagram for VoutManager:

Collaboration graph
[legend]

Public Member Functions

void * acceptWnd (vout_window_t *pWnd)
 Accept Wnd.
void releaseWnd (vout_window_t *pWnd)
 Release Wnd.
void setSizeWnd (vout_window_t *pWnd, int width, int height)
 set size Wnd
void setFullscreenWnd (vout_window_t *pWnd, bool b_fullscreen)
 set fullscreen Wnd
void registerCtrlVideo (CtrlVideo *p_CtrlVideo)
void saveVoutConfig ()
void restoreVoutConfig (bool b_success)
void discardVout (CtrlVideo *pCtrlVideo)
void requestVout (CtrlVideo *pCtrlVideo)
CtrlVideogetBestCtrlVideo ()
VoutMainWindowgetVoutMainWindow ()
bool hasVout ()

Static Public Member Functions

static VoutManagerinstance (intf_thread_t *pIntf)
 Get the instance of VoutManager Returns NULL if the initialization of the object failed.
static void destroy (intf_thread_t *pIntf)
 Delete the instance of VoutManager.
static void * getWindow (intf_thread_t *pIntf, vout_window_t *pWnd)
 Callback to request a vout window.
static void releaseWindow (intf_thread_t *pIntf, vout_window_t *pWnd)
static int controlWindow (struct vout_window_t *pWnd, int query, va_list args)
 Callback to change a vout window.

Protected Member Functions

 VoutManager (intf_thread_t *pIntf)
virtual ~VoutManager ()

Detailed Description

Singleton object handling VLC internal state and playlist.

Constructor & Destructor Documentation

VoutManager::VoutManager ( intf_thread_t pIntf  )  [protected]

References SkinObject::getIntf().

Referenced by instance().

VoutManager::~VoutManager (  )  [protected, virtual]


Member Function Documentation

VoutManager * VoutManager::instance ( intf_thread_t pIntf  )  [static]

Get the instance of VoutManager Returns NULL if the initialization of the object failed.

References intf_thread_t::p_sys, intf_sys_t::p_voutManager, and VoutManager().

Referenced by CmdChangeSkin::execute(), CtrlVideo::onUpdate(), Run(), VoutWindow::setCtrlVideo(), and CtrlVideo::setLayout().

void VoutManager::destroy ( intf_thread_t pIntf  )  [static]

Delete the instance of VoutManager.

References intf_thread_t::p_sys, and intf_sys_t::p_voutManager.

Referenced by Run().

void * VoutManager::acceptWnd ( vout_window_t pWnd  ) 

void VoutManager::releaseWnd ( vout_window_t pWnd  ) 

Release Wnd.

References SkinObject::getIntf(), and msg_Dbg.

Referenced by CmdReleaseVoutWindow::execute().

void VoutManager::setSizeWnd ( vout_window_t pWnd,
int  width,
int  height 
)

void VoutManager::setFullscreenWnd ( vout_window_t pWnd,
bool  b_fullscreen 
)

set fullscreen Wnd

References msg_Dbg, and VoutWindow::setFullscreen().

Referenced by CmdSetFullscreen::execute().

void * VoutManager::getWindow ( intf_thread_t pIntf,
vout_window_t pWnd 
) [static]

void VoutManager::releaseWindow ( intf_thread_t pIntf,
vout_window_t pWnd 
) [static]

int VoutManager::controlWindow ( struct vout_window_t pWnd,
int  query,
va_list  args 
) [static]

void VoutManager::registerCtrlVideo ( CtrlVideo p_CtrlVideo  ) 

Referenced by CtrlVideo::setLayout().

void VoutManager::saveVoutConfig (  ) 

Referenced by CmdChangeSkin::execute().

void VoutManager::restoreVoutConfig ( bool  b_success  ) 

void VoutManager::discardVout ( CtrlVideo pCtrlVideo  ) 

Referenced by CtrlVideo::onUpdate().

void VoutManager::requestVout ( CtrlVideo pCtrlVideo  ) 

CtrlVideo * VoutManager::getBestCtrlVideo (  ) 

Referenced by acceptWnd(), and restoreVoutConfig().

VoutMainWindow* VoutManager::getVoutMainWindow (  )  [inline]

bool VoutManager::hasVout (  )  [inline]


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

Generated on Fri Nov 20 08:06:29 2009 for VLC by  doxygen 1.5.6