CUsbClassControllerBase Class Reference
class CUsbClassControllerBase : public CActive
|
Base class for Class Controllers.
Constructor & Destructor Documentation
CUsbClassControllerBase(MUsbClassControllerNotify &, TInt)
Parameters
MUsbClassControllerNotify
& aOwner
|
Owner and manager of this object
|
TInt
aStartupPriority
|
The priority of the Class Controller (the priorities of all present Class Controllers determines the order in which they are started).
|
~CUsbClassControllerBase()
IMPORT_C
|
~CUsbClassControllerBase
|
(
|
)
|
[virtual]
|
Member Functions Documentation
Compare(const CUsbClassControllerBase &, const CUsbClassControllerBase &)
Compare Static function to compare two class controllers on the basis of their startup priorities.
DoCancel()
void
|
DoCancel
|
(
|
)
|
[pure virtual]
|
DoCancel Framework function.
GetDescriptorInfo(TUsbDescriptor &)
void
|
GetDescriptorInfo
|
(
|
TUsbDescriptor &
|
aDescriptorInfo
|
)
|
const [pure virtual]
|
GetDescriptorInfo Returns information on the class controller's descriptors.
Parameters
TUsbDescriptor & aDescriptorInfo
|
Structure to return information in.
|
Owner()
Owner Fetch the owner of the USB class controller.
RunError(TInt)
TInt
|
RunError
|
(
|
TInt
|
aError
|
)
|
[pure virtual]
|
Parameters
TInt
aError
|
The error with which RunL left.
|
RunL()
void
|
RunL
|
(
|
)
|
[pure virtual]
|
RunL Framework function. Class controllers are Active Objects, and may if relevant use that to register interfaces asynchronously.
Start(TRequestStatus &)
Start Called by the server to get this class controller to register its interfaces.
Parameters
TRequestStatus
& aStatus
|
TRequestStatus to signal completion of the request.
|
StartupPriority()
IMPORT_C
TInt
|
StartupPriority
|
(
|
)
|
const
|
StartupPriority Get the startup priority of this USB class controller.
State()
IMPORT_C
TUsbServiceState
|
State
|
(
|
)
|
const
|
State Get the state of this USB class controller.
Stop(TRequestStatus &)
Stop Called by the server to get this class controller to deregister its interfaces.
Parameters
TRequestStatus
& aStatus
|
TRequestStatus to signal completion of the request.
|
Member Data Documentation
MUsbClassControllerNotify & iOwner
const TInt iStartupPriority
const
TInt
|
iStartupPriority
|
[protected]
|
The relative priority of this class controller. The class controllers are sorted using their priorities to determine what order to start them in.
TUsbServiceState
iState
TUsbServiceState
|
iState
|
[protected]
|
The current service state. This must be kept up-to-date depending on whether this class controller's interfaces are registered or not.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.