wlan_bearer/wlannwif/inc/receiver_hw.h
changeset 0 c40eb8fe8501
child 17 a828660c511c
equal deleted inserted replaced
-1:000000000000 0:c40eb8fe8501
       
     1 /*
       
     2 * Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Defines receiver class for target
       
    15 *
       
    16 */
       
    17 
       
    18 /*
       
    19 * %version: 7 %
       
    20 */
       
    21 
       
    22 #ifndef _RECEIVER_HW_H_
       
    23 #define _RECEIVER_HW_H_
       
    24 
       
    25 #include <e32base.h>
       
    26 
       
    27 class CLANLinkCommon;
       
    28 class CPcCardPktDrv;
       
    29 class TDataBuffer;
       
    30 
       
    31 /**
       
    32 *  Receiver active object
       
    33 *
       
    34 */
       
    35 class CReceiver : public CActive
       
    36     {
       
    37 public:  // Methods
       
    38 
       
    39     // NewL
       
    40 	static CReceiver* NewL( CPcCardPktDrv* aParent );
       
    41 
       
    42     // destructor
       
    43 	virtual ~CReceiver();
       
    44 
       
    45 	/**
       
    46 	* Requests a new data frame from LDD. Calls SetActive().
       
    47 	*/
       
    48 	void QueueRead();
       
    49 
       
    50 private: // Methods
       
    51 	/**
       
    52 	* C++ constructor
       
    53 	* @param aParent
       
    54 	*/
       
    55 	CReceiver( CPcCardPktDrv* aParent );
       
    56 
       
    57 	/**
       
    58 	* RunL
       
    59 	*/
       
    60 	void RunL();
       
    61 
       
    62 	/**
       
    63 	* DoCancel
       
    64 	*/
       
    65 	void DoCancel();
       
    66 
       
    67 	/**
       
    68 	* Symbian second phase constructor
       
    69 	*/
       
    70 	void ConstructL();
       
    71 
       
    72 	// Prohibit copy constructor
       
    73 	CReceiver(const CReceiver&);
       
    74 	// Prohibit assigment operator
       
    75 	CReceiver& operator= (const CReceiver&);
       
    76 
       
    77 private:    // Data
       
    78 
       
    79     /** */
       
    80     CPcCardPktDrv* iParent;
       
    81 
       
    82     /** */
       
    83     TDataBuffer* iDataBuffer;
       
    84     
       
    85     };
       
    86 
       
    87 #endif //_RECEIVER_HW_H_