diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_d_driver1_channel.html --- a/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_d_driver1_channel.html Tue Mar 30 11:56:28 2010 +0100 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_d_driver1_channel.html Tue Mar 30 16:16:55 2010 +0100 @@ -1,83 +1,78 @@ - -
-Public Member Functions | |
DDriver1Channel () | |
virtual | ~DDriver1Channel () |
Public Member Functions | |
DDriver1Channel () | |
virtual | ~DDriver1Channel () |
virtual TInt | RequestUserHandle (DThread *aThread, TOwnerType aType) |
virtual TInt | DoCreate (TInt aUnit, const TDesC8 *anInfo, const TVersion &aVer) |
virtual void | HandleMsg (TMessageBase *aMsg) |
virtual void | SendDataComplete (TInt aResult) |
virtual void | ReceiveDataComplete (TInt aResult) |
Logical Channel class for 'Driver1'.
-Definition at line 46 of file driver1_dev.h.
-Definition at line 46 of file driver1_dev.h.
+DDriver1Channel::DDriver1Channel | +DDriver1Channel::DDriver1Channel | ( | -+ | ) | -+ |
Constructor
--Constructor -
Definition at line 105 of file driver1_ldd.cpp.
+Definition at line 105 of file driver1_ldd.cpp.
DDriver1Channel::~DDriver1Channel | +DDriver1Channel::~DDriver1Channel | ( | -+ | ) | - [virtual] |
+ [virtual] |
Destructor
--Destructor -
Definition at line 168 of file driver1_ldd.cpp.
+Definition at line 168 of file driver1_ldd.cpp.
-
TInt DDriver1Channel::RequestUserHandle | +TInt DDriver1Channel::RequestUserHandle | ( | DThread * | aThread, | @@ -91,31 +86,31 @@|||
) | - [virtual] |
+ [virtual] |
-Called when a user thread requests a handle to this channel.
Called when a user thread requests a handle to this channel.
+aThread | Name of thread | |
aType | Determines whether the requested handle is thread or process relative. |
Definition at line 183 of file driver1_ldd.cpp.
+Definition at line 183 of file driver1_ldd.cpp.
TInt DDriver1Channel::DoCreate | +TInt DDriver1Channel::DoCreate | ( | TInt | aUnit, | @@ -135,100 +130,98 @@|||
) | - [virtual] |
+ [virtual] |
-Second stage constructor called by the kernel's device driver framework. 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.
Second stage constructor called by the kernel's device driver framework. 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.
+aUnit | The unit argument supplied by the client to RBusLogicalChannel::DoCreate(). | |
aInfo | The info argument supplied by the client to RBusLogicalChannel::DoCreate(). | |
aVer | The version argument supplied by the client to RBusLogicalChannel::DoCreate(). |
Definition at line 128 of file driver1_ldd.cpp.
+Definition at line 128 of file driver1_ldd.cpp.
void DDriver1Channel::HandleMsg | +void DDriver1Channel::HandleMsg | ( | TMessageBase * | -aMsg | +aMsg | ) | - [virtual] |
+ [virtual] |
-Process a message for this logical channel. This function is called in the context of a DFC thread.
-
Process a message for this logical channel. This function is called in the context of a DFC thread.
+aMsg | The message to process. The iValue member of this distinguishes the message type: iValue==ECloseMsg, channel close message iValue==KMaxTInt, a 'DoCancel' message iValue>=0, a 'DoControl' message with function number equal to iValue iValue<0, a 'DoRequest' message with function number equal to ~iValue |
Definition at line 202 of file driver1_ldd.cpp.
+Definition at line 202 of file driver1_ldd.cpp.
void DDriver1Channel::SendDataComplete | +void DDriver1Channel::SendDataComplete | ( | TInt | -aResult | +aResult | ) | - [virtual] |
+ [virtual] |
Called by PDD from ISR to indicate that a SendData operation has completed.
--Called by PDD from ISR to indicate that a SendData operation has completed. -
Definition at line 445 of file driver1_ldd.cpp.
+Definition at line 445 of file driver1_ldd.cpp.
void DDriver1Channel::ReceiveDataComplete | +void DDriver1Channel::ReceiveDataComplete | ( | TInt | -aResult | +aResult | ) | - [virtual] |
+ [virtual] |
Called by PDD from ISR to indicate that a ReceiveData operation has completed.
--Called by PDD from ISR to indicate that a ReceiveData operation has completed. -
Definition at line 523 of file driver1_ldd.cpp.
+Definition at line 523 of file driver1_ldd.cpp.
-