sysperfana/perfinvestigator/com.nokia.carbide.cpp.pi/src/com/nokia/carbide/cpp/internal/pi/plugin/model/IRecordable.java
changeset 2 b9ab3b238396
equal deleted inserted replaced
1:1050670c6980 2:b9ab3b238396
       
     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 the License "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 package com.nokia.carbide.cpp.internal.pi.plugin.model;
       
    19 
       
    20 import java.io.Serializable;
       
    21 
       
    22 public interface IRecordable extends ITrace
       
    23 {
       
    24 /*	
       
    25  * The Serializable object this method returns is saved in to the .bap file when
       
    26  * analysis is saved. The Serializable object shouldn't contain plugins
       
    27  * trace data since it is automatically saved through a different mechanism.
       
    28  */
       
    29 	public Serializable getAdditionalData(); 
       
    30 								 
       
    31 /*
       
    32  * AbstractPiPlugin receives the saved Serializable object via this method when .bap file is loaded.
       
    33  */	
       
    34 	public void setAdditionalData(int graphIndex, Serializable data);
       
    35 	
       
    36 	public int getGraphCount();
       
    37 }