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 @@ - - -TB10.1 Example Applications: DDriver1Channel Class Reference - - - - + + + + +TB9.2 Example Applications: DDriver1Channel Class Reference + + + + + +

DDriver1Channel Class Reference

-

-List of all members. - - - - - +

List of all members.

+

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)
+


Detailed Description

+

Logical Channel class for 'Driver1'.

-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) - - -

Detailed Description

-Logical Channel class for 'Driver1'. -

Definition at line 46 of file driver1_dev.h.

-

Constructor & Destructor Documentation

- +

Definition at line 46 of file driver1_dev.h.

+

Constructor & Destructor Documentation

+
- + - + - +
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.

-

-


Member Function Documentation

- + +

Member Function Documentation

+
- + @@ -91,31 +86,31 @@ - +
TInt DDriver1Channel::RequestUserHandle TInt DDriver1Channel::RequestUserHandle ( DThread *  aThread,
) [virtual] [virtual]
- -

-Called when a user thread requests a handle to this channel.

Parameters:
+

Called when a user thread requests a handle to this channel.

+
Parameters:
aThread Name of thread
aType Determines whether the requested handle is thread or process relative.
+
-
Returns:
KErrNone if successful, otherwise one of the other system wide error codes.
+
Returns:
KErrNone if successful, otherwise one of the other system wide error codes.
-

Definition at line 183 of file driver1_ldd.cpp.

+

Definition at line 183 of file driver1_ldd.cpp.

-

- + +

- + @@ -135,100 +130,98 @@ - +
TInt DDriver1Channel::DoCreate TInt DDriver1Channel::DoCreate ( TInt  aUnit,
) [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.

Parameters:
+

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.

+
Parameters:
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().
+
-
Returns:
KErrNone if successful, otherwise one of the other system wide error codes.
+
Returns:
KErrNone if successful, otherwise one of the other system wide error codes.
-

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.

-

Parameters:
+

Process a message for this logical channel. This function is called in the context of a DFC thread.

+
Parameters:
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.

-

-


Generated on Thu Jan 21 10:33:08 2010 for TB10.1 Example Applications by  + + +
Generated by  -doxygen 1.5.3
+doxygen 1.6.2