memspyui/include/MemSpyViewHeapTrackingResults.h
branchRCL_3
changeset 21 b3cee849fa46
parent 20 48060abbbeaf
child 22 fad26422216a
equal deleted inserted replaced
20:48060abbbeaf 21:b3cee849fa46
     1 /*
       
     2 * Copyright (c) 2009 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:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MEMSPYVIEWHEAPTRACKINGRESULTS_H
       
    19 #define MEMSPYVIEWHEAPTRACKINGRESULTS_H
       
    20 
       
    21 // System includes
       
    22 #include <hal.h>
       
    23 #include <coecntrl.h>
       
    24 #include <aknlists.h>
       
    25 
       
    26 // Engine includes
       
    27 #include <memspy/engine/memspyenginehelpersysmemtrackerobserver.h>
       
    28 
       
    29 // Driver includes
       
    30 #include <memspy/driver/memspydriverobjectsshared.h>
       
    31 
       
    32 // User includes
       
    33 #include "MemSpyViewBase.h"
       
    34 
       
    35 // Classes referenced
       
    36 class CMemSpyEngineHelperSysMemTrackerCycle;
       
    37 class CMemSpyEngineHelperSysMemTrackerCycleChange;
       
    38 
       
    39 
       
    40 class CMemSpyViewHeapTrackingResults : public CMemSpyViewBase, public MMemSpyEngineHelperSysMemTrackerObserver
       
    41     {
       
    42 public:
       
    43     CMemSpyViewHeapTrackingResults( CMemSpyEngine& aEngine, MMemSpyViewObserver& aObserver );
       
    44     ~CMemSpyViewHeapTrackingResults();
       
    45     void ConstructL( const TRect& aRect, CCoeControl& aContainer, TAny* aSelectionRune = NULL );
       
    46 
       
    47 public: // From CMemSpyViewBase
       
    48     void RefreshL();
       
    49     TMemSpyViewType ViewType() const;
       
    50     CMemSpyViewBase* PrepareParentViewL();
       
    51     CMemSpyViewBase* PrepareChildViewL();
       
    52 
       
    53 private: // From CMemSpyViewBase
       
    54     void SetListBoxModelL();
       
    55 
       
    56 private: // From MMemSpyEngineHelperSysMemTrackerObserver
       
    57     void HandleCyclesResetL();
       
    58     void HandleCycleStartedL( const CMemSpyEngineHelperSysMemTrackerCycle& aCycle );
       
    59     void HandleCycleFinishedL( const CMemSpyEngineHelperSysMemTrackerCycle& aCycle );
       
    60     };
       
    61 
       
    62 
       
    63 
       
    64 
       
    65 
       
    66 
       
    67 
       
    68 class CMemSpyViewHeapTrackingResultsCycleInfo : public CMemSpyViewBase, public MMemSpyEngineHelperSysMemTrackerObserver
       
    69     {
       
    70 public:
       
    71     CMemSpyViewHeapTrackingResultsCycleInfo( CMemSpyEngine& aEngine, MMemSpyViewObserver& aObserver, const CMemSpyEngineHelperSysMemTrackerCycle& aCycle );
       
    72     ~CMemSpyViewHeapTrackingResultsCycleInfo();
       
    73     void ConstructL( const TRect& aRect, CCoeControl& aContainer, TAny* aSelectionRune = NULL );
       
    74 
       
    75 public: // From CMemSpyViewBase
       
    76     void RefreshL();
       
    77     TMemSpyViewType ViewType() const;
       
    78     CMemSpyViewBase* PrepareParentViewL();
       
    79 
       
    80 private: // From CMemSpyViewBase
       
    81     void SetListBoxModelL();
       
    82 
       
    83 private: // From MMemSpyEngineHelperSysMemTrackerObserver
       
    84     void HandleCyclesResetL();
       
    85     void HandleCycleStartedL( const CMemSpyEngineHelperSysMemTrackerCycle& aCycle );
       
    86     void HandleCycleFinishedL( const CMemSpyEngineHelperSysMemTrackerCycle& aCycle );
       
    87 
       
    88 private: // Data members
       
    89     const CMemSpyEngineHelperSysMemTrackerCycle& iCycle;
       
    90     };
       
    91 
       
    92 
       
    93 
       
    94 
       
    95 
       
    96 /*
       
    97 class CMemSpyViewHeapTrackingResultsChangeDescriptor : public CMemSpyViewBase, public MMemSpyEngineHelperSysMemTrackerObserver
       
    98     {
       
    99 public:
       
   100     CMemSpyViewHeapTrackingResultsChangeDescriptor( CMemSpyEngine& aEngine, MMemSpyViewObserver& aObserver, const CMemSpyEngineHelperSysMemTrackerCycle& aCycle, const CMemSpyEngineHelperSysMemTrackerCycleChange& aChangeDescriptor, TInt aIndex );
       
   101     ~CMemSpyViewHeapTrackingResultsChangeDescriptor();
       
   102     void ConstructL( const TRect& aRect, CCoeControl& aContainer, TAny* aSelectionRune = NULL );
       
   103 
       
   104 public: // From CMemSpyViewBase
       
   105     void RefreshL();
       
   106     TMemSpyViewType ViewType() const;
       
   107     CMemSpyViewBase* PrepareParentViewL();
       
   108 
       
   109 private: // From CMemSpyViewBase
       
   110     void SetListBoxModelL();
       
   111 
       
   112 private: // From MMemSpyEngineHelperSysMemTrackerObserver
       
   113     void HandleCyclesResetL();
       
   114     void HandleCycleStartedL( const CMemSpyEngineHelperSysMemTrackerCycle& aCycle );
       
   115     void HandleCycleFinishedL( const CMemSpyEngineHelperSysMemTrackerCycle& aCycle );
       
   116 
       
   117 private: // Data members
       
   118     const CMemSpyEngineHelperSysMemTrackerCycle& iCycle;
       
   119     const CMemSpyEngineHelperSysMemTrackerCycleChange& iChangeDescriptor;
       
   120     TInt iIndex; // For selection rune when moving to parent view
       
   121     };
       
   122 */
       
   123 
       
   124 
       
   125 
       
   126 
       
   127 #endif