mmserv/voipaudioservices/VoIPIntfc/inc/VoIPJBDataBufferImpl.h
changeset 0 71ca22bcf22a
child 53 eabc8c503852
equal deleted inserted replaced
-1:000000000000 0:71ca22bcf22a
       
     1 /*
       
     2 * Copyright (c) 2008 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:  VOIP Audio Services  Defines jitter buffer type for VoIP data streaming.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __VOIPJBDATABUFFERIMPL_H
       
    20 #define __VOIPJBDATABUFFERIMPL_H
       
    21 
       
    22 #include "VoIPDataBufferImpl.h"
       
    23 
       
    24 
       
    25 /**
       
    26  *  CVoIPJBDataBufferImpl
       
    27  *  ?description
       
    28  *  @since S60 v5.0
       
    29  */
       
    30 NONSHARABLE_CLASS(CVoIPJBDataBufferImpl) : public CVoIPDataBufferImpl
       
    31     {
       
    32 public:
       
    33     /**
       
    34      * 2-phased constructor
       
    35      *
       
    36      * @since S60 v5.0
       
    37      * @param TInt
       
    38      * @return none
       
    39      */
       
    40     static CVoIPJBDataBufferImpl* NewL(TInt aBufferLen);
       
    41 
       
    42     /**
       
    43      * Destructor
       
    44      *
       
    45      * @since S60 v5.0
       
    46      * @param none
       
    47      * @return none
       
    48      */
       
    49     virtual ~CVoIPJBDataBufferImpl();
       
    50 
       
    51     /**
       
    52      * SetBufferSequence
       
    53      *
       
    54      * @since S60 v5.0
       
    55      * @param const TUint
       
    56      * @return none
       
    57      */
       
    58 
       
    59     void SetBufferSequence(const TUint aBufferSeq);
       
    60 
       
    61     /**
       
    62      * GetBufferSequence
       
    63      *
       
    64      * @since S60 v5.0
       
    65      * @param TUint&
       
    66      * @return none
       
    67      */
       
    68     void GetBufferSequence(TUint& aBufferSeq);
       
    69 
       
    70 protected:
       
    71     /**
       
    72      * Constructor
       
    73      *
       
    74      * @since S60 v5.0
       
    75      * @param none
       
    76      * @return none
       
    77      */
       
    78     CVoIPJBDataBufferImpl();
       
    79 
       
    80     /**
       
    81      * Symbian constructor
       
    82      *
       
    83      * @since S60 v5.0
       
    84      * @param TInt
       
    85      * @return void
       
    86      */
       
    87     void ConstructL(TInt aBufferLen);
       
    88 
       
    89 private:
       
    90 
       
    91     TUint iBufferSequence;
       
    92     };
       
    93 
       
    94 #endif //__VOIPJBDATABUFFERIMPL_H
       
    95 
       
    96 
       
    97 //End of file