Public Member Functions | |
DDriver1Factory () | |
~DDriver1Factory () | |
virtual TInt | Install () |
virtual void | GetCaps (TDes8 &aDes) const |
virtual TInt | Create (DLogicalChannelBase *&aChannel) |
Logical Device (factory class) for 'Driver1'
Definition at line 42 of file driver1_dev.h.
DDriver1Factory::DDriver1Factory | ( | ) |
Constructor
Definition at line 56 of file driver1_ldd.cpp.
DDriver1Factory::~DDriver1Factory | ( | ) |
Destructor
Definition at line 78 of file driver1_ldd.cpp.
TInt DDriver1Factory::Install | ( | ) | [virtual] |
Second stage constructor for DDriver1Factory. This must at least sets a name for the driver object.
Definition at line 70 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.
aDes | User-side descriptor to write capabilities information into. |
Definition at line 87 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.
aChannel | The created Logical Channel |
Definition at line 104 of file driver1_ldd.cpp.