Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

OUSBDevice Class Reference

#include <USBDeviceImpl.h>

Inheritance diagram for OUSBDevice:

VirtualBoxBaseNEXT VirtualBoxSupportErrorInfoImpl< OUSBDevice, IUSBDevice > VirtualBoxSupportTranslation< OUSBDevice > VirtualBoxBase VirtualBoxSupportErrorInfoImplBase VirtualBoxSupportTranslationBase VirtualBoxBaseProto util::Lockable

List of all members.


Detailed Description

Object class used for maintaining devices attached to a USB controller. Generally this contains much less information.

Definition at line 35 of file USBDeviceImpl.h.


Public Types

typedef AutoCallerBase< false > AutoCaller
typedef AutoCallerBase< true > AutoLimitedCaller
enum  State {
  NotReady, Ready, InInit, InUninit,
  InitFailed, Limited, MayUninit, WillUninit
}

Public Member Functions

virtual HRESULT addCaller (State *aState=NULL, bool aLimited=false)
HRESULT addLimitedCaller (State *aState=NULL)
NS_DECL_ISUPPORTS HRESULT FinalConstruct ()
void FinalRelease ()
const Guidid () const
HRESULT init (IUSBDevice *a_pUSBDevice)
STDMETHOD() InterfaceSupportsErrorInfo (REFIID riid)
bool isLockedOnCurrentThread ()
bool isWriteLockOnCurrentThread ()
virtual RWLockHandlelockHandle () const
virtual void releaseCaller ()
LockOps * rlock ()
 STDMETHOD (COMGETTER(Remote))(BOOL *aRemote)
 STDMETHOD (COMGETTER(PortVersion))(USHORT *aPortVersion)
 STDMETHOD (COMGETTER(Version))(USHORT *aVersion)
 STDMETHOD (COMGETTER(Port))(USHORT *aPort)
 STDMETHOD (COMGETTER(Address))(BSTR *aAddress)
 STDMETHOD (COMGETTER(SerialNumber))(BSTR *aSerialNumber)
 STDMETHOD (COMGETTER(Product))(BSTR *aProduct)
 STDMETHOD (COMGETTER(Manufacturer))(BSTR *aManufacturer)
 STDMETHOD (COMGETTER(Revision))(USHORT *aRevision)
 STDMETHOD (COMGETTER(ProductId))(USHORT *aProductId)
 STDMETHOD (COMGETTER(VendorId))(USHORT *aVendorId)
 STDMETHOD (COMGETTER(Id))(OUT_GUID aId)
void uninit ()
LockOps * wlock ()

Static Public Member Functions

static const wchar_t * getComponentName ()
static const char * tr (const char *aSourceText, const char *aComment=NULL)
static const char * translate (const char *context, const char *sourceText, const char *comment=0)
static const char * translate (const char *context, const char *sourceText, const char *comment=0)

Protected Member Functions

WriteLockHandlestateLockHandle ()

Static Protected Member Functions

static const char * className ()
static bool cutClassNameFrom__PRETTY_FUNCTION__ (char *aPrettyFunctionName)
static HRESULT setError (HRESULT aResultCode, const GUID &aIID, const Bstr &aComponent, const char *aText, va_list aArgs, bool aLogIt=true)
static HRESULT setError (HRESULT aResultCode, const GUID &aIID, const Bstr &aComponent, const Bstr &aText, bool aLogIt=true)
static HRESULT setError (HRESULT aResultCode, const GUID &aIID, const char *aText,...)
static HRESULT setError (HRESULT aResultCode, const char *aText,...)
static HRESULT setError (HRESULT aResultCode, const GUID &aIID, const wchar_t *aComponent, const char *aText,...)
static HRESULT setErrorBstr (HRESULT aResultCode, const Bstr &aText)
static HRESULT setErrorNoLog (HRESULT aResultCode, const char *aText,...)
static HRESULT setErrorV (HRESULT aResultCode, const char *aText, va_list aArgs)
static HRESULT setWarning (HRESULT aResultCode, const GUID &aIID, const Bstr &aComponent, const char *aText, va_list aArgs)
static HRESULT setWarning (HRESULT aResultCode, const GUID &aIID, const Bstr &aComponent, const Bstr &aText)
static HRESULT setWarning (HRESULT aResultCode, const GUID &aIID, const char *aText,...)
static HRESULT setWarning (HRESULT aResultCode, const char *aText,...)
static HRESULT setWarning (HRESULT aResultCode, const GUID &aIID, const wchar_t *aComponent, const char *aText,...)
static HRESULT setWarningBstr (HRESULT aResultCode, const Bstr &aText)
static HRESULT setWarningV (HRESULT aResultCode, const char *aText, va_list aArgs)

Private Attributes

Data mData

Classes

struct  Data

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

Generated by  Doxygen 1.6.0   Back to index