sbUSBDescriptor Class Reference

#include <sbUSBDeviceUtils.h>

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

Public Member Functions

NS_DECL_ISUPPORTS sbUSBDescriptor (void *aDescriptor, PRUint16 aDescriptorLength)
 
 sbUSBDescriptor (sbUSBDescriptorHeader *aDescriptor)
 
virtual ~sbUSBDescriptor ()
 
void * Get ()
 
sbUSBDescriptorHeaderGetHeader ()
 
sbUSBConfigurationDescriptorGetConfiguration ()
 
sbUSBDeviceDescriptorGetDevice ()
 
sbUSBStringDescriptorGetString ()
 
PRUint16 GetTotalLength ()
 

Detailed Description

This class wraps a USB descriptor record in a class that may be used with nsRefPtr and inserted into an nsTArray.

Definition at line 243 of file sbUSBDeviceUtils.h.

Constructor & Destructor Documentation

NS_DECL_ISUPPORTS sbUSBDescriptor::sbUSBDescriptor ( void *  aDescriptor,
PRUint16  aDescriptorLength 
)
inline

Definition at line 257 of file sbUSBDeviceUtils.h.

sbUSBDescriptor::sbUSBDescriptor ( sbUSBDescriptorHeader aDescriptor)
inline

Definition at line 268 of file sbUSBDeviceUtils.h.

virtual sbUSBDescriptor::~sbUSBDescriptor ( )
inlinevirtual

Definition at line 282 of file sbUSBDeviceUtils.h.

Member Function Documentation

void* sbUSBDescriptor::Get ( )
inline

Getters.

Definition at line 293 of file sbUSBDeviceUtils.h.

sbUSBConfigurationDescriptor* sbUSBDescriptor::GetConfiguration ( )
inline

Definition at line 303 of file sbUSBDeviceUtils.h.

sbUSBDeviceDescriptor* sbUSBDescriptor::GetDevice ( )
inline

Definition at line 308 of file sbUSBDeviceUtils.h.

sbUSBDescriptorHeader* sbUSBDescriptor::GetHeader ( )
inline

Definition at line 298 of file sbUSBDeviceUtils.h.

Here is the caller graph for this function:

sbUSBStringDescriptor* sbUSBDescriptor::GetString ( )
inline

Definition at line 313 of file sbUSBDeviceUtils.h.

PRUint16 sbUSBDescriptor::GetTotalLength ( )
inline

Definition at line 318 of file sbUSBDeviceUtils.h.


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