LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cvs-checkins > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: cvs at opencores.org<cvs@o...>
    Date: Tue Jul 24 15:06:57 CEST 2007
    Subject: [cvs-checkins] MODIFIED: jop ...
    Top
    Date: 00/07/07 24:15:06

    Added: jop/java/tools/src/wcet/framework/interfaces/util
    IComponentRunner.java
    Log:



    Revision Changes Path
    1.1 jop/java/tools/src/wcet/framework/interfaces/util/IComponentRunner.java

    http://www.opencores.org/cvsweb.shtml/jop/java/tools/src/wcet/framework/interfaces/util/IComponentRunner.java?rev=1.1&content-type=text/x-cvsweb-markup

    Index: IComponentRunner.java
    ===================================================================
    /**
    *
    */
    package wcet.framework.interfaces.util;

    import java.io.PrintStream;

    import wcet.framework.exceptions.SurplusComponentException;
    import wcet.framework.exceptions.TaskExecutionException;
    import wcet.framework.interfaces.general.IAnalyserComponent;

    /**
    * Iterface defining methods needed to register and run components
    * in system.
    * @author Elena Axamitova
    * @version 0.2
    */
    public interface IComponentRunner {

    /**
    * Registers the given component.
    * @param componentToRegister -
    * the component to register
    * @throws SurplusComponentException -
    * if there is a registred component with the same priority and
    * the <code>onlyOne</code> field of either the registred component or
    * the componentToRegister is <code>true</true>
    */
    public void registerComponent(IAnalyserComponent componentToRegister)
    throws SurplusComponentException;

    /**
    * Removes the component from execution key.
    * @param componentToRemove - the component to register
    * @return - <code>true</code> if the component was found and successfully removed
    */
    public boolean removeComponent(IAnalyserComponent componentToRemove);

    /**
    * Starts the analysis, e.g. runs all components.
    * After calling this method, registration and removal of components is not possible.
    * @throws TaskExecutionException when a problems in execution occurs.
    */
    public void startComponents() throws TaskExecutionException;

    /**
    * Sets the PrintStream to be used as output for components' messages.
    * If not set, any message received during the execution will be discarded.
    * @param ps - the output PrintStream
    */
    public void setOutput(PrintStream ps);

    }



     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.