cbsref/csyrefplugins/csy27010/inc/ChannelMgrCtrl.h
branchRCL_3
changeset 65 630d2f34d719
equal deleted inserted replaced
61:17af172ffa5f 65:630d2f34d719
       
     1 //
       
     2 // * Copyright 2004 Neusoft America Inc.
       
     3 // * All rights reserved.
       
     4 // * This component and the accompanying materials are made available
       
     5 // * under the terms of the 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 // * Contributors:
       
    10 // * Keith Collins (Neusoft America Inc.)  original software development and additional code and modifications.
       
    11 // * Thomas Gahagen (Neusoft America Inc.)  additional code and modifications.
       
    12 // * Zhen Yuan (Neusoft America Inc.)  additional code and modifications.
       
    13 // *
       
    14 // * Description: This file contains the declaration for class CChannelMgrCtrl.
       
    15 // *              Class CChannelMgrCtrl defines a 3GPP 27.010 control channel.
       
    16 // *              A control channel is used to initialize the multiplexer and to
       
    17 // *              create/monitor DLC's. There is one instance of the control channel.
       
    18 // *
       
    19 //
       
    20 
       
    21 // ChannelMgrCtrl.h
       
    22 
       
    23 /** @file ChannelMgrCtrl.h
       
    24  *
       
    25  * 
       
    26  */
       
    27 
       
    28 #ifndef _CCHANNELMGRCTRL_H_
       
    29 #define _CCHANNELMGRCTRL_H_
       
    30 
       
    31 #include "ChannelMgrBase.h"
       
    32 
       
    33 class CPortFactory;
       
    34 class CMux0710Protocol;
       
    35 class CCsyMsgBufBpFrame;
       
    36 
       
    37 /** @class CChannelMgrCtrl ChannelMgrCtrl.h "ChannelMgrCtrl.h"
       
    38  *  @brief Class CChannelMgrCtrl defines a 3GPP 27.010 control channel.
       
    39  *  A control channel is used to initialize the multiplexer and to
       
    40  *  create/monitor DLC's. There is one instance of the control channel.
       
    41  */
       
    42 class CChannelMgrCtrl : public CChannelMgrBase
       
    43     {
       
    44 public:
       
    45     static CChannelMgrCtrl* NewL(CPortFactory& aPortFactory,
       
    46 								 CMux0710Protocol& iMux0710Protocol);
       
    47     virtual ~CChannelMgrCtrl();
       
    48 	inline TBool GetChannelReady() const;
       
    49 
       
    50 private:
       
    51     CChannelMgrCtrl(CPortFactory& aPortFactory,
       
    52 					CMux0710Protocol& aMux0710Protocol);
       
    53 
       
    54     void ConstructL();
       
    55 
       
    56 	void ProcessRecvUihFrame(CCsyMsgBufBpFrame* aBpFrame);
       
    57 	void ConfirmCtrlFrame(CCsyMsgBufBpFrame* aBpFrame);
       
    58 	};
       
    59 
       
    60 
       
    61 inline TBool CChannelMgrCtrl::GetChannelReady() const
       
    62 /**
       
    63  * Return the channel ready
       
    64  *
       
    65  * @return Channel ready
       
    66  */
       
    67 	{
       
    68 	return iChannelReady;
       
    69 	}
       
    70 
       
    71 #endif // _CCHANNELMGRCTRL_H_