sbCDDeviceMarshall Class Reference

#include <sbCDDeviceMarshall.h>

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

Public Member Functions

 sbCDDeviceMarshall ()
 
virtual ~sbCDDeviceMarshall ()
 
NS_DECL_ISUPPORTS
NS_DECL_NSICLASSINFO
NS_DECL_SBIDEVICEMARSHALL
NS_DECL_SBICDDEVICELISTENER
nsresult 
Init ()
 
- Public Member Functions inherited from sbBaseDeviceMarshall
sbIDeviceControllerFindCompatibleControllers (nsIPropertyBag *deviceParams)
 
sbIDeviceControllerFindCompatibleControllers (nsIPropertyBag *deviceParams, CompatibilityComparer &deviceComparer)
 
- Public Member Functions inherited from sbIDeviceMarshall
void loadControllers (in sbIDeviceControllerRegistrar aRegistrar)
 
void beginMonitoring ()
 
void stopMonitoring ()
 
void removeDevice (in sbIDevice aDevice)
 
- Public Member Functions inherited from sbICDDeviceListener
void onDeviceRemoved (in sbICDDevice aCDDevice)
 
void onMediaInserted (in sbICDDevice aCDDevice)
 
void onMediaEjected (in sbICDDevice aCDDevice)
 

Protected Member Functions

nsresult AddDevice (sbICDDevice *aCDDevice)
 
nsresult AddDevice2 (nsAString const &aName, sbIDevice *aDevice)
 
nsresult RemoveDevice (nsAString const &aName)
 
nsresult GetDevice (nsAString const &aName, sbIDevice **aOutDevice)
 
nsresult GetHasDevice (nsAString const &aName, PRBool *aOutHasDevice)
 
nsresult DiscoverDevices ()
 
nsresult CreateAndDispatchDeviceManagerEvent (PRUint32 aType, nsIVariant *aData=nsnull, nsISupports *aOrigin=nsnull, PRBool aAsync=PR_FALSE)
 
void RunDiscoverDevices ()
 
void RunNotifyDeviceStartScan ()
 
void RunNotifyDeviceStopScan ()
 
- Protected Member Functions inherited from sbBaseDeviceMarshall
virtual ~sbBaseDeviceMarshall ()
 
 sbBaseDeviceMarshall (nsACString const &categoryName)
 
void RegisterControllers (sbIDeviceControllerRegistrar *registrar)
 
nsIArray * GetControllers () const
 
nsIArray * RefreshControllers ()
 
void ClearMonitoringFlag ()
 
PRBool IsMonitoring () const
 

Additional Inherited Members

- Public Attributes inherited from sbIDeviceMarshall
readonly attribute nsIDPtr id
 
readonly attribute AString name
 

Detailed Description

Definition at line 44 of file sbCDDeviceMarshall.h.

Constructor & Destructor Documentation

sbICDDeviceListener sbCDDeviceMarshall::sbCDDeviceMarshall ( )

Definition at line 69 of file sbCDDeviceMarshall.cpp.

sbCDDeviceMarshall::~sbCDDeviceMarshall ( )
virtual

Definition at line 76 of file sbCDDeviceMarshall.cpp.

Member Function Documentation

nsresult sbCDDeviceMarshall::AddDevice ( sbICDDevice aCDDevice)
protected

Definition at line 139 of file sbCDDeviceMarshall.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult sbCDDeviceMarshall::AddDevice2 ( nsAString const &  aName,
sbIDevice aDevice 
)
protected
nsresult sbCDDeviceMarshall::CreateAndDispatchDeviceManagerEvent ( PRUint32  aType,
nsIVariant *  aData = nsnull,
nsISupports aOrigin = nsnull,
PRBool  aAsync = PR_FALSE 
)
protected

Definition at line 457 of file sbCDDeviceMarshall.cpp.

Here is the caller graph for this function:

nsresult sbCDDeviceMarshall::DiscoverDevices ( )
protected

Definition at line 361 of file sbCDDeviceMarshall.cpp.

Here is the call graph for this function:

nsresult sbCDDeviceMarshall::GetDevice ( nsAString const &  aName,
sbIDevice **  aOutDevice 
)
protected

Definition at line 323 of file sbCDDeviceMarshall.cpp.

Here is the caller graph for this function:

nsresult sbCDDeviceMarshall::GetHasDevice ( nsAString const &  aName,
PRBool *  aOutHasDevice 
)
protected

Definition at line 342 of file sbCDDeviceMarshall.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult sbCDDeviceMarshall::Init ( )

Definition at line 85 of file sbCDDeviceMarshall.cpp.

nsresult sbCDDeviceMarshall::RemoveDevice ( nsAString const &  aName)
protected

Definition at line 231 of file sbCDDeviceMarshall.cpp.

Here is the call graph for this function:

void sbCDDeviceMarshall::RunDiscoverDevices ( )
protected

Definition at line 393 of file sbCDDeviceMarshall.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void sbCDDeviceMarshall::RunNotifyDeviceStartScan ( )
protected

Definition at line 439 of file sbCDDeviceMarshall.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void sbCDDeviceMarshall::RunNotifyDeviceStopScan ( )
protected

Definition at line 448 of file sbCDDeviceMarshall.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


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