sysperfana/perfinvestigator/com.nokia.carbide.cpp.pi/src/com/nokia/carbide/cpp/internal/pi/model/FunctionResolver.java
changeset 2 b9ab3b238396
child 5 844b047e260d
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.model;
       
    19 
       
    20 public interface FunctionResolver 
       
    21 {
       
    22 	// find the function corresponding to an address
       
    23 	public Function findFunctionForAddress(long address);
       
    24 
       
    25 	// find the function name corresponding to an address
       
    26 	public String findFunctionNameForAddress(long address);
       
    27 	
       
    28 	// find the binary corresponding to an address
       
    29 	public Binary findBinaryForAddress(long address);
       
    30 
       
    31 	// find the binary name corresponding to an address
       
    32 	public String findBinaryNameForAddress(long address);
       
    33 	
       
    34 	// get the brief name of the resolver
       
    35 	public String getResolverName();
       
    36 	
       
    37 	// get a long version of the name of the resolver
       
    38 	public String getResolverString();
       
    39 	
       
    40 	// whether resolution will change anything (e.g., a symbol file resolver with no symbols should return false)
       
    41 	public boolean canResolve();
       
    42 }