mmserv/voipaudioservices/VoIPIntfc/inc/VoIPJBDataBufferImpl.h
changeset 55 e267340986c9
parent 0 71ca22bcf22a
equal deleted inserted replaced
52:4ce423f34688 55:e267340986c9
     1 /*
     1 /*
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
     2  * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3  * All rights reserved.
     4 * This component and the accompanying materials are made available
     4  * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5  * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6  * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     8  *
     9 * Initial Contributors:
     9  * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10  * Nokia Corporation - initial contribution.
    11 *
    11  *
    12 * Contributors:
    12  * Contributors:
    13 *
    13  *
    14 * Description:  VOIP Audio Services  Defines jitter buffer type for VoIP data streaming.
    14  * Description:  VOIP Audio Services  Defines jitter buffer type for VoIP
    15 *
    15  *               data streaming.
    16 */
    16  *
       
    17  */
    17 
    18 
    18 
    19 #ifndef VOIPJBDATABUFFERIMPL_H
    19 #ifndef __VOIPJBDATABUFFERIMPL_H
    20 #define VOIPJBDATABUFFERIMPL_H
    20 #define __VOIPJBDATABUFFERIMPL_H
       
    21 
    21 
    22 #include "VoIPDataBufferImpl.h"
    22 #include "VoIPDataBufferImpl.h"
    23 
    23 
    24 
       
    25 /**
    24 /**
    26  *  CVoIPJBDataBufferImpl
    25  *  CVoIPJBDataBufferImpl
    27  *  ?description
    26  *
    28  *  @since S60 v5.0
       
    29  */
    27  */
    30 NONSHARABLE_CLASS(CVoIPJBDataBufferImpl) : public CVoIPDataBufferImpl
    28 NONSHARABLE_CLASS(CVoIPJBDataBufferImpl) : public CVoIPDataBufferImpl
    31     {
    29     {
    32 public:
    30 public:
    33     /**
    31     /**
    34      * 2-phased constructor
    32      * 2-phased constructor
    35      *
    33      *
    36      * @since S60 v5.0
    34      *
    37      * @param TInt
    35      * @param TInt
    38      * @return none
    36      * @return none
    39      */
    37      */
    40     static CVoIPJBDataBufferImpl* NewL(TInt aBufferLen);
    38     static CVoIPJBDataBufferImpl* NewL(TInt aBufferLen);
    41 
    39 
    42     /**
    40     /**
    43      * Destructor
    41      * Destructor
    44      *
    42      *
    45      * @since S60 v5.0
    43      *
    46      * @param none
    44      * @param none
    47      * @return none
    45      * @return none
    48      */
    46      */
    49     virtual ~CVoIPJBDataBufferImpl();
    47     virtual ~CVoIPJBDataBufferImpl();
    50 
    48 
    51     /**
    49     /**
    52      * SetBufferSequence
    50      * SetBufferSequence
    53      *
    51      *
    54      * @since S60 v5.0
    52      *
    55      * @param const TUint
    53      * @param const TUint
    56      * @return none
    54      * @return none
    57      */
    55      */
    58 
    56 
    59     void SetBufferSequence(const TUint aBufferSeq);
    57     void SetBufferSequence(const TUint aBufferSeq);
    60 
    58 
    61     /**
    59     /**
    62      * GetBufferSequence
    60      * GetBufferSequence
    63      *
    61      *
    64      * @since S60 v5.0
    62      *
    65      * @param TUint&
    63      * @param TUint&
    66      * @return none
    64      * @return none
    67      */
    65      */
    68     void GetBufferSequence(TUint& aBufferSeq);
    66     void GetBufferSequence(TUint& aBufferSeq);
    69 
    67 
    70 protected:
    68 protected:
    71     /**
    69     /**
    72      * Constructor
    70      * Constructor
    73      *
    71      *
    74      * @since S60 v5.0
    72      *
    75      * @param none
    73      * @param none
    76      * @return none
    74      * @return none
    77      */
    75      */
    78     CVoIPJBDataBufferImpl();
    76     CVoIPJBDataBufferImpl();
    79 
    77 
    80     /**
    78     /**
    81      * Symbian constructor
    79      * Symbian constructor
    82      *
    80      *
    83      * @since S60 v5.0
    81      *
    84      * @param TInt
    82      * @param TInt
    85      * @return void
    83      * @return void
    86      */
    84      */
    87     void ConstructL(TInt aBufferLen);
    85     void ConstructL(TInt aBufferLen);
    88 
    86 
    89 private:
    87 private:
    90 
    88 
    91     TUint iBufferSequence;
    89     TUint iBufferSequence;
    92     };
    90     };
    93 
    91 
    94 #endif //__VOIPJBDATABUFFERIMPL_H
    92 #endif //VOIPJBDATABUFFERIMPL_H
    95 
       
    96 
    93 
    97 //End of file
    94 //End of file