sbBaseDeviceMarshall::CompatibilityComparer Class Reference

#include <sbBaseDeviceMarshall.h>

Public Member Functions

 CompatibilityComparer ()
 
virtual PRBool Compare (sbIDeviceController *controller, nsIPropertyBag *deviceParams)
 
sbIDeviceControllerGetBestMatch () const
 

Protected Member Functions

void SetBestMatch (sbIDeviceController *deviceController, sbIDeviceCompatibility *compatibility)
 

Detailed Description

Class to compare controllers. This allows

Definition at line 58 of file sbBaseDeviceMarshall.h.

Constructor & Destructor Documentation

sbBaseDeviceMarshall::CompatibilityComparer::CompatibilityComparer ( )
inline

Initializes the comparer's values

Definition at line 64 of file sbBaseDeviceMarshall.h.

Member Function Documentation

PRBool sbBaseDeviceMarshall::CompatibilityComparer::Compare ( sbIDeviceController controller,
nsIPropertyBag *  deviceParams 
)
virtual

Determines if the controller is the best. Returns true

Definition at line 163 of file sbBaseDeviceMarshall.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

sbIDeviceController* sbBaseDeviceMarshall::CompatibilityComparer::GetBestMatch ( ) const
inline

Returns the controller that thus far is the best match

Definition at line 77 of file sbBaseDeviceMarshall.h.

Here is the caller graph for this function:

void sbBaseDeviceMarshall::CompatibilityComparer::SetBestMatch ( sbIDeviceController deviceController,
sbIDeviceCompatibility compatibility 
)
inlineprotected

Sets the device controller as the best match

Definition at line 85 of file sbBaseDeviceMarshall.h.

Here is the caller graph for this function:


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