wlan_bearer/wlanldd/wlan_common/umac_common/inc/UmacWsaReadMib.h
changeset 0 c40eb8fe8501
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 the License "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:   Declaration of the WlanWsaReadMib class.
       
    15 *
       
    16 */
       
    17 
       
    18 /*
       
    19 * %version: 8 %
       
    20 */
       
    21 
       
    22 #ifndef WLANWSAREADMIB_H
       
    23 #define WLANWSAREADMIB_H
       
    24 
       
    25 #include "UmacWsaCommand.h"
       
    26 
       
    27 /**
       
    28 *  Encapsulates the execution of ReadMib WHA command.
       
    29 *
       
    30 *  @lib wlanumac.lib
       
    31 *  @since S60 v3.1
       
    32 */
       
    33 class WlanWsaReadMib : public WlanWsaCommand
       
    34     {
       
    35     
       
    36 public:
       
    37 
       
    38     /**
       
    39     * C++ default constructor.
       
    40     */
       
    41     WlanWsaReadMib() : iMib( static_cast<WHA::TMib>(0) ) {};
       
    42 
       
    43     /**
       
    44     * Destructor.
       
    45     */
       
    46     virtual ~WlanWsaReadMib() {};
       
    47 
       
    48 public:
       
    49 
       
    50     inline void Set( 
       
    51         WlanContextImpl& aCtxImpl, 
       
    52         WHA::TMib aMib );
       
    53 
       
    54 private:
       
    55 
       
    56     virtual void Entry( WlanContextImpl& aCtxImpl );
       
    57 #ifndef NDEBUG 
       
    58     virtual const TInt8* GetStateName( TUint8& aLength ) const;
       
    59 #endif // !NDEBUG 
       
    60 
       
    61     virtual void CommandResponse( 
       
    62         WlanContextImpl& aCtxImpl, 
       
    63         WHA::TCommandId aCommandId, 
       
    64         WHA::TStatus aStatus,
       
    65         const WHA::UCommandResponseParams& aCommandResponseParams );
       
    66 
       
    67     // Prohibit copy constructor.
       
    68     WlanWsaReadMib( const WlanWsaReadMib& );
       
    69     // Prohibit assigment operator.
       
    70     WlanWsaReadMib& operator= ( const WlanWsaReadMib& );
       
    71 
       
    72 private:    // Data
       
    73 
       
    74     WHA::TMib               iMib;
       
    75 #ifndef NDEBUG 
       
    76     static const TInt8  iName[];
       
    77 #endif
       
    78     };
       
    79 
       
    80 #include "UmacWsaReadMib.inl"
       
    81 
       
    82 #endif      // WLANWSAREADMIB_H
       
    83