mtpfws/mtpfw/inc/cmtpparserrouter.h
changeset 47 63cf70d3ecd8
parent 18 1b39655331a3
equal deleted inserted replaced
44:a5deb6b96675 47:63cf70d3ecd8
    23 
    23 
    24 #include <e32cmn.h>
    24 #include <e32cmn.h>
    25 #include <mtp/tmtptyperequest.h>
    25 #include <mtp/tmtptyperequest.h>
    26 
    26 
    27 #include "cmtpdataprovidercontroller.h"
    27 #include "cmtpdataprovidercontroller.h"
    28 #include "mtpdebug.h"
       
    29 #include "rmtpframework.h"
    28 #include "rmtpframework.h"
       
    29 #include "../traces/OstTraceDefinitions.h"
    30 
    30 
    31 class CMTPConnection;
    31 class CMTPConnection;
    32 class CMTPDataProvider;
    32 class CMTPDataProvider;
    33 class MMTPConnection;
    33 class MMTPConnection;
    34 class TMTPTypeEvent;
    34 class TMTPTypeEvent;
   553         void InitParamsL(RArray<TUint>& aFrom) const;
   553         void InitParamsL(RArray<TUint>& aFrom) const;
   554         void InsertL(const RArray<TUint>& aFrom, TUint aTo);
   554         void InsertL(const RArray<TUint>& aFrom, TUint aTo);
   555         void GetToL(const RArray<TUint>& aFrom, RArray<TUint>& aTo) const;
   555         void GetToL(const RArray<TUint>& aFrom, RArray<TUint>& aTo) const;
   556         TUint SubType() const;
   556         TUint SubType() const;
   557         
   557         
   558 #ifdef __FLOG_ACTIVE
   558 #ifdef OST_TRACE_COMPILER_IN_USE
   559         void FLOGMapL(RArray<TUint>& aFrom) const;
   559         void OSTMapL(RArray<TUint>& aFrom) const;
   560         void FLOGMapEntryL(const RArray<TUint>& aFrom, TUint aTo) const;
   560         void OSTMapEntryL(const RArray<TUint>& aFrom, TUint aTo) const;
   561 #endif
   561 #endif
   562         
   562         
   563     private:
   563     private:
   564     
   564     
   565         static CMap* NewLC(TUint aFrom, TUint aSubType);
   565         static CMap* NewLC(TUint aFrom, TUint aSubType);
   587         static TInt NodeOrderFromKeyDescending(const TUint* aL, const TMap& aR);
   587         static TInt NodeOrderFromKeyDescending(const TUint* aL, const TMap& aR);
   588         static TInt NodeOrderFromToAscending(const TMap& aL, const TMap& aR);
   588         static TInt NodeOrderFromToAscending(const TMap& aL, const TMap& aR);
   589         static TInt NodeOrderFromToDescending(const TMap& aL, const TMap& aR);
   589         static TInt NodeOrderFromToDescending(const TMap& aL, const TMap& aR);
   590         
   590         
   591     private:
   591     private:
   592 
       
   593         /**
       
   594         FLOGGER debug trace member variable.
       
   595         */
       
   596         __FLOG_DECLARATION_MEMBER_MUTABLE;
       
   597  
   592  
   598         /**
   593         /**
   599         The routing parameter.
   594         The routing parameter.
   600         */
   595         */
   601         TUint               iFrom;
   596         TUint               iFrom;
   653     static TUint Index(TUint aSubType);
   648     static TUint Index(TUint aSubType);
   654     static TUint Params(TUint aSubType);
   649     static TUint Params(TUint aSubType);
   655     static TUint ParamsCount(TUint aSubType);
   650     static TUint ParamsCount(TUint aSubType);
   656     static TUint SubType(TUint aIndex, TUint aFlags, TUint aParamsCount);
   651     static TUint SubType(TUint aIndex, TUint aFlags, TUint aParamsCount);
   657     
   652     
   658 #ifdef __FLOG_ACTIVE
   653 #ifdef OST_TRACE_COMPILER_IN_USE
   659     void FLOGMapsL() const;
   654     void OSTMapsL() const;
   660 #endif
   655 #endif
   661 
   656 
   662 private: // Owned
   657 private: // Owned
   663 
       
   664     /**
       
   665     FLOGGER debug trace member variable.
       
   666     */
       
   667     __FLOG_DECLARATION_MEMBER_MUTABLE;
       
   668     
   658     
   669     /**
   659     /**
   670     The operation parameter routing sub-type map tables.
   660     The operation parameter routing sub-type map tables.
   671     */
   661     */
   672     RPointerArray<CMap> iMaps;
   662     RPointerArray<CMap> iMaps;