de.cau.cs.kieler.core.kivi.internal
Class CombinationsWorker

java.lang.Object
  extended by java.lang.Thread
      extended by de.cau.cs.kieler.core.kivi.internal.CombinationsWorker
All Implemented Interfaces:
Runnable

public class CombinationsWorker
extends Thread

Worker thread that handles the evaluation and execution of all combinations.

Rating red

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
CombinationsWorker()
          Default constructor, sets thread name as combinations.
 
Method Summary
 void run()
          When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.
 void trigger(ITriggerState triggerState)
          Insert a new trigger state into the queue.
 
Methods inherited from class java.lang.Thread
currentThread, getName, getPriority, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, setDaemon, setName, setPriority, sleep, start, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CombinationsWorker

public CombinationsWorker()
Default constructor, sets thread name as combinations.

Method Detail

run

public void run()
Description copied from interface: Runnable
When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.

Specified by:
run in interface Runnable
Overrides:
run in class Thread

trigger

public void trigger(ITriggerState triggerState)
Insert a new trigger state into the queue.

Parameters:
triggerState - the trigger state to be inserted