lejos.realtime
Class ProcessingGroupParameters

java.lang.Object
  extended by lejos.realtime.ProcessingGroupParameters
All Implemented Interfaces:
Cloneable

public class ProcessingGroupParameters
extends Object
implements Cloneable

Author:
Team iRbot

Constructor Summary
ProcessingGroupParameters()
           
 
Method Summary
 Object clone()
          Create a copy of this object, using a shallow copy.
 RelativeTime getCost()
           
 AsyncEventHandler getCostOverrunHandler()
           
 RelativeTime getDeadline()
           
 AsyncEventHandler getDeadlineMissHandler()
           
 RelativeTime getPeriod()
           
 HighResolutionTime getStart()
           
 void setCost(RelativeTime cost)
           
 void setCostOverrunHandler(AsyncEventHandler handler)
           
 void setDeadline(RelativeTime deadline)
           
 void setDeadlineMissHandler(AsyncEventHandler handler)
           
 boolean setIfFeasible(RelativeTime period, RelativeTime cost, RelativeTime deadline)
           
 void setPeriod(RelativeTime period)
           
 void setStart(HighResolutionTime start)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessingGroupParameters

public ProcessingGroupParameters()
Method Detail

clone

public Object clone()
Description copied from class: Object
Create a copy of this object, using a shallow copy.

Returns:
The new copy of the Object

getCost

public RelativeTime getCost()

getCostOverrunHandler

public AsyncEventHandler getCostOverrunHandler()

getDeadline

public RelativeTime getDeadline()

getDeadlineMissHandler

public AsyncEventHandler getDeadlineMissHandler()

getPeriod

public RelativeTime getPeriod()

getStart

public HighResolutionTime getStart()

setCost

public void setCost(RelativeTime cost)

setCostOverrunHandler

public void setCostOverrunHandler(AsyncEventHandler handler)

setDeadline

public void setDeadline(RelativeTime deadline)

setDeadlineMissHandler

public void setDeadlineMissHandler(AsyncEventHandler handler)

setIfFeasible

public boolean setIfFeasible(RelativeTime period,
                             RelativeTime cost,
                             RelativeTime deadline)

setPeriod

public void setPeriod(RelativeTime period)

setStart

public void setStart(HighResolutionTime start)