DDriver1Factory Class Reference

List of all members.

Public Member Functions

 DDriver1Factory ()
 ~DDriver1Factory ()
virtual TInt Install ()
virtual void GetCaps (TDes8 &aDes) const
virtual TInt Create (DLogicalChannelBase *&aChannel)

Detailed Description

Logical Device (factory class) for 'Driver1'

Definition at line 29 of file driver1_dev.h.


Constructor & Destructor Documentation

DDriver1Factory::DDriver1Factory (  ) 

Constructor

Definition at line 45 of file driver1_ldd.cpp.

DDriver1Factory::~DDriver1Factory (  ) 

Destructor

Definition at line 67 of file driver1_ldd.cpp.


Member Function Documentation

TInt DDriver1Factory::Install (  )  [virtual]

Second stage constructor for DDriver1Factory. This must at least sets a name for the driver object.

Returns:
KErrNone if successful, otherwise one of the other system wide error codes.

Definition at line 59 of file driver1_ldd.cpp.

void DDriver1Factory::GetCaps ( TDes8 &  aDes  )  const [virtual]

Returns the driver's capabilities. Called in response to an RDevice::GetCaps() request.

Parameters:
aDes User-side descriptor to write capabilities information into.

Definition at line 76 of file driver1_ldd.cpp.

TInt DDriver1Factory::Create ( DLogicalChannelBase *&  aChannel  )  [virtual]

Called by the kernel's device driver framework to create a Logical Channel. This is called in the context of the user thread (client) which requested the creation of a Logical Channel (e.g. through a call to RBusLogicalChannel::DoCreate). The thread is in a critical section.

Parameters:
aChannel The created Logical Channel
Returns:
KErrNone if successful, otherwise one of the other system wide error codes.

Definition at line 93 of file driver1_ldd.cpp.


Generated by  doxygen 1.6.2