videoeditorengine/vedengine/videoprocessor/inc/dataprocessor.h
branchRCL_3
changeset 3 e0b5df5c0969
parent 0 951a5db380a0
child 5 4c409de21d23
equal deleted inserted replaced
0:951a5db380a0 3:e0b5df5c0969
     1 /*
       
     2 * Copyright (c) 2010 Ixonos Plc.
       
     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 * Initial Contributors:
       
    10 * Nokia Corporation - Initial contribution
       
    11 *
       
    12 * Contributors:
       
    13 * Ixonos Plc
       
    14 *
       
    15 * Description:  
       
    16 * Definition for CDataProcessor, the data processing object abstract
       
    17 * base class.
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 #ifndef     __DATAPROCESSOR_H__
       
    24 #define     __DATAPROCESSOR_H__
       
    25 
       
    26 
       
    27 //  INCLUDES
       
    28 
       
    29 #ifndef __E32BASE_H__
       
    30 #include <e32base.h>
       
    31 #endif
       
    32 
       
    33 
       
    34 //  FORWARD DECLARATIONS
       
    35 
       
    36 //class MVideoPlayerObserver;
       
    37 
       
    38 
       
    39 //  CLASS DEFINITIONS
       
    40 
       
    41 class CDataProcessor : public CActive
       
    42 {
       
    43 public: // constants
       
    44     enum TErrorCode
       
    45     {
       
    46         EInternalAssertionFailure = -1100
       
    47     };
       
    48 
       
    49 public: // new functions
       
    50     // Constructors
       
    51     CDataProcessor(TInt aPriority=EPriorityStandard);
       
    52     void ConstructL();
       
    53 
       
    54     // Destructor
       
    55     virtual ~CDataProcessor();
       
    56 
       
    57     // Called by CActiveQueue when input data is available
       
    58     virtual void InputDataAvailable(TAny *aUserPointer);
       
    59 
       
    60     // Called by CActiveQueue when output space is available
       
    61     virtual void OutputSpaceAvailable(TAny *aUserPointer);
       
    62 
       
    63     // Called by CActiveQeueue after all data has been read from a queue where
       
    64     // stream end has been signaled
       
    65     virtual void StreamEndReached(TAny *aUserPointer);
       
    66 
       
    67     // Standard active object RunL() method, overridden by derived class
       
    68     virtual void RunL() = 0;
       
    69 
       
    70     // Cancels the internal request
       
    71     virtual void DoCancel();
       
    72 };
       
    73 
       
    74 
       
    75 
       
    76 #endif      //  __DATAPROCESSOR_H__
       
    77             
       
    78 // End of File