sysperfana/perfinvestigator/com.nokia.carbide.cpp.pi/src/com/nokia/carbide/cpp/internal/pi/plugin/model/ITrace.java
author Toni Pulkkinen <ext-toni.p.pulkkinen@nokia.com>
Wed, 23 Jun 2010 15:05:09 +0300
changeset 12 ae255c9aa552
parent 5 844b047e260d
permissions -rw-r--r--
Performance Investigator Carbide extension 2.4.0

/*
 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of the License "Eclipse Public License v1.0"
 * which accompanies this distribution, and is available
 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
 *
 * Initial Contributors:
 * Nokia Corporation - initial contribution.
 *
 * Contributors:
 *
 * Description: 
 *
 */

package com.nokia.carbide.cpp.internal.pi.plugin.model;

import java.io.File;

import com.nokia.carbide.cpp.internal.pi.model.GenericTrace;
import com.nokia.carbide.cpp.internal.pi.model.ParsedTraceData;


public interface ITrace 
{
	public Class getTraceClass();
	public void initialiseTrace(GenericTrace trace);
	public String getTraceName();
	/** like trace name but can be more descriptive */
	public String getTraceTitle();
	public boolean isMandatory();
	public String getTraceDescription();
	public int getTraceId();
	public ParsedTraceData parseTraceFile(File file /*, ProgressBar progressBar*/) throws Exception;
	
	/**
	 * Parses the given array of input files and returns the resulting ParsedTraceData
	 * @param files the files to parse
	 * @return the parsed traced trace data 
	 * @throws Exception
	 */
	public ParsedTraceData parseTraceFiles(File[] files) throws Exception;
}