hicosim.control.utils
Interface IStatistic

All Known Implementing Classes:
Statistics

public interface IStatistic

Interface IStatistic - used by the processor to manage statistics about executed comands. IStatistic-Classes will provide methods to deal with observers, to notify them on changes and to reset the observers. The observers may also get the whole statistics in an arraylist.

Author:
Weber

Method Summary
 void deleteObserver(IStatisticObserver oldObserver)
           
 java.util.ArrayList<java.util.HashMap<java.lang.String,java.lang.Long>> getStatistics()
           
 java.lang.String[] getTypes()
           
 void registerObserver(IStatisticObserver newObserver)
           
 void reset()
           
 void updateStatistics(java.lang.String comand)
           
 

Method Detail

registerObserver

void registerObserver(IStatisticObserver newObserver)

deleteObserver

void deleteObserver(IStatisticObserver oldObserver)

updateStatistics

void updateStatistics(java.lang.String comand)

reset

void reset()

getStatistics

java.util.ArrayList<java.util.HashMap<java.lang.String,java.lang.Long>> getStatistics()

getTypes

java.lang.String[] getTypes()