1 /* ------------------------------------------------------------------ 2 * Copyright (C) 1998-2009 PacketVideo 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 13 * express or implied. 14 * See the License for the specific language governing permissions 15 * and limitations under the License. 16 * ------------------------------------------------------------------- 17 */ 18 // ---------------------------------------------------------------------- 19 // 20 // This Software is an original work of authorship of PacketVideo Corporation. 21 // Portions of the Software were developed in collaboration with NTT DoCoMo, 22 // Inc. or were derived from the public domain or materials licensed from 23 // third parties. Title and ownership, including all intellectual property 24 // rights in and to the Software shall remain with PacketVideo Corporation 25 // and NTT DoCoMo, Inc. 26 // 27 // ----------------------------------------------------------------------- 28 /************************************************************************/ 29 /* file name : selc.h */ 30 /* file contents : Uni-Directional Logical Channel Signalling Entity */ 31 /* : Management Header */ 32 /* draw : '96.11.11 */ 33 /*----------------------------------------------------------------------*/ 34 /* amendment : */ 35 /* Copyright (C) 1996 NTT DoCoMo */ 36 /************************************************************************/ 37 #ifndef _SELC_H_ 38 #define _SELC_H_ 39 40 41 /************************************************************************/ 42 /* Headerfile Include */ 43 /************************************************************************/ 44 #include "h245pri.h" 45 #include "lcblccmn.h" 46 47 class MSD; 48 49 /************************************************************************/ 50 /* Function Prototype Declare */ 51 /************************************************************************/ 52 class LC : public LCBLCCmn 53 { 54 public: LC()55 LC() : LCBLCCmn(), MyMSD(0) {} ~LC()56 ~LC() {} 57 SetMSD(MSD * msd)58 void SetMSD(MSD *msd) 59 { 60 MyMSD = msd; 61 } 62 Reset()63 void Reset() {} 64 65 void _0200_0000(LCEntry* , PS_ForwardReverseParam) ; 66 void _0200_0030(LCEntry* , PS_ForwardReverseParam) ; 67 void _0201_0010(LCEntry* , PS_OpenLogicalChannel) ; 68 void _0203_0010(LCEntry* , PS_OlcRejectCause) ; 69 void _0203_0020(LCEntry* , PS_OlcRejectCause) ; 70 void _0204_0000(LCEntry* , PS_OpenLogicalChannelAck) ; 71 void _0204_0010(LCEntry* , PS_OpenLogicalChannelAck) ; 72 void _0206_0000(LCEntry* , PS_OpenLogicalChannelReject) ; 73 void _0206_0010(LCEntry* , PS_OpenLogicalChannelReject) ; 74 void _0206_0020(LCEntry* , PS_OpenLogicalChannelReject) ; 75 void _0206_0030(LCEntry* , PS_OpenLogicalChannelReject) ; 76 void _0207_0010(LCEntry* , int32) ; 77 void _0207_0030(LCEntry* , int32) ; 78 void _0209_0020(LCEntry* , PS_CloseLogicalChannelAck) ; 79 void _0209_0030(LCEntry* , PS_CloseLogicalChannelAck) ; 80 void _0201_0001(LCEntry* , PS_OpenLogicalChannel) ; 81 void _0201_0011(LCEntry* , PS_OpenLogicalChannel) ; 82 void _0202_0011(LCEntry* , PS_ReverseData) ; 83 void _0203_0011(LCEntry* , PS_OlcRejectCause) ; 84 void _0208_0001(LCEntry* , PS_CloseLogicalChannel) ; 85 void _0208_0011(LCEntry* , PS_CloseLogicalChannel) ; 86 87 private: 88 LC(const LC&); 89 MSD *MyMSD; 90 }; 91 92 #endif /* _SELC_ */ 93