GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
GPAC_MediaController Class Reference

#include <GPACMediaController.h>

+ Inheritance diagram for GPAC_MediaController:
+ Collaboration diagram for GPAC_MediaController:

Public Member Functions

 GPAC_MediaController (PLT_CtrlPointReference &ctrlPoint, GF_UPnP *upnp)
 
 ~GPAC_MediaController ()
 
virtual NPT_Result OnDeviceAdded (PLT_DeviceDataReference &device)
 
virtual NPT_Result OnDeviceRemoved (PLT_DeviceDataReference &device)
 
virtual NPT_Result OnActionResponse (NPT_Result res, PLT_ActionReference &action, void *userdata)
 
virtual NPT_Result OnEventNotify (PLT_Service *service, NPT_List< PLT_StateVariable * > *vars)
 
virtual bool OnMRAdded (PLT_DeviceDataReference &device)
 
virtual void OnMRRemoved (PLT_DeviceDataReference &device)
 
virtual void OnMRStateVariablesChanged (PLT_Service *, NPT_List< PLT_StateVariable * > *)
 
virtual bool OnMSAdded (PLT_DeviceDataReference &device)
 
virtual void OnMSRemoved (PLT_DeviceDataReference &device)
 
virtual void OnMSStateVariablesChanged (PLT_Service *service, NPT_List< PLT_StateVariable * > *vars)
 
virtual void OnBrowseResult (NPT_Result res, PLT_DeviceDataReference &device, PLT_BrowseInfo *info, void *userdata)
 
NPT_Result Browse (GPAC_MediaServerItem *server, const char *id, const char *filter)
 

Data Fields

GF_List * m_MediaRenderers
 
GF_List * m_MediaServers
 
PLT_MediaController * m_MediaController
 
PLT_MediaBrowser * m_MediaBrowser
 

Protected Member Functions

NPT_Result Browse (GPAC_BrowseDataReference &browse_data, PLT_DeviceDataReference &device, const char *object_id, NPT_Int32 index, NPT_Int32 count, bool browse_metadata=false, const char *filter="*", const char *sort="")
 

Private Member Functions

NPT_Result WaitForResponse (NPT_SharedVariable &shared_var)
 

Private Attributes

GF_UPnPm_pUPnP
 
GF_Mutex * m_ControlPointLock
 

Constructor & Destructor Documentation

GPAC_MediaController::GPAC_MediaController ( PLT_CtrlPointReference &  ctrlPoint,
GF_UPnP upnp 
)

+ Here is the call graph for this function:

GPAC_MediaController::~GPAC_MediaController ( )

+ Here is the call graph for this function:

Member Function Documentation

virtual NPT_Result GPAC_MediaController::OnDeviceAdded ( PLT_DeviceDataReference &  device)
virtual
virtual NPT_Result GPAC_MediaController::OnDeviceRemoved ( PLT_DeviceDataReference &  device)
virtual
NPT_Result GPAC_MediaController::OnActionResponse ( NPT_Result  res,
PLT_ActionReference &  action,
void *  userdata 
)
virtual
NPT_Result GPAC_MediaController::OnEventNotify ( PLT_Service *  service,
NPT_List< PLT_StateVariable * > *  vars 
)
virtual
bool GPAC_MediaController::OnMRAdded ( PLT_DeviceDataReference &  device)
virtual

+ Here is the call graph for this function:

void GPAC_MediaController::OnMRRemoved ( PLT_DeviceDataReference &  device)
virtual

+ Here is the call graph for this function:

void GPAC_MediaController::OnMRStateVariablesChanged ( PLT_Service *  service,
NPT_List< PLT_StateVariable * > *  vars 
)
virtual

+ Here is the call graph for this function:

bool GPAC_MediaController::OnMSAdded ( PLT_DeviceDataReference &  device)
virtual

+ Here is the call graph for this function:

void GPAC_MediaController::OnMSRemoved ( PLT_DeviceDataReference &  device)
virtual

+ Here is the call graph for this function:

void GPAC_MediaController::OnMSStateVariablesChanged ( PLT_Service *  service,
NPT_List< PLT_StateVariable * > *  vars 
)
virtual

+ Here is the call graph for this function:

void GPAC_MediaController::OnBrowseResult ( NPT_Result  res,
PLT_DeviceDataReference &  device,
PLT_BrowseInfo *  info,
void *  userdata 
)
virtual
NPT_Result GPAC_MediaController::Browse ( GPAC_MediaServerItem server,
const char *  id,
const char *  filter 
)
NPT_Result GPAC_MediaController::Browse ( GPAC_BrowseDataReference browse_data,
PLT_DeviceDataReference &  device,
const char *  object_id,
NPT_Int32  index,
NPT_Int32  count,
bool  browse_metadata = false,
const char *  filter = "*",
const char *  sort = "" 
)
protected

+ Here is the call graph for this function:

NPT_Result GPAC_MediaController::WaitForResponse ( NPT_SharedVariable &  shared_var)
private

+ Here is the caller graph for this function:

Field Documentation

GF_List* GPAC_MediaController::m_MediaRenderers
GF_List* GPAC_MediaController::m_MediaServers
PLT_MediaController* GPAC_MediaController::m_MediaController
PLT_MediaBrowser* GPAC_MediaController::m_MediaBrowser
GF_UPnP* GPAC_MediaController::m_pUPnP
private
GF_Mutex* GPAC_MediaController::m_ControlPointLock
private

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