JACK 5.4 Application Interface

aos.jack.sim.time
Class TimeControl

java.lang.Object
  extended byaos.jack.jak.util.Watchable
      extended byaos.jack.jak.fsm.FSM
          extended byaos.jack.jak.event.Event
              extended byaos.jack.jak.event.MessageEvent
                  extended byaos.jack.sim.time.TimeControl
All Implemented Interfaces:
aos.apib.Base, ObservableInt, java.io.Serializable

public class TimeControl
extends MessageEvent
implements aos.apib.Base, java.io.Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class aos.jack.jak.event.MessageEvent
from, ident, message, mid, rmid
 
Fields inherited from class aos.jack.jak.event.Event
behavior, priority, relevant, task
 
Constructor Summary
TimeControl()
           
 
Method Summary
 TimeControl begin(long t)
           
 TimeControl begin(long t, int iteration)
           
 TimeControl begin(java.lang.String ag_name, long t, int iteration)
           
 TimeControl end(long t)
           
 TimeControl end(long t, int iterations_left)
           
 boolean equals(java.lang.Object o)
           
 TimeControl forward(TimeControl tc)
           
 java.lang.String getDocumentation()
           
 aos.apib.StreamerSupport getStreamer()
          Returns the StreamerSupport for the object implementing this interface.
 java.lang.Object getVariable(int n)
          Gets the numbered Object variable.
 int hashCode()
           
 TimeControl newTime(long t)
           
 TimeControl ready(int m)
           
 TimeControl ready(int m, long t)
           
 TimeControl setup(long t)
           
 TimeControl setup(java.lang.String ag_name, long t)
           
 java.lang.String stateInfo()
          Describe the events current state.
 java.lang.String[] variableNames()
          Gets a String array of the names of the Object's variables.
 java.lang.String[] variableTypes()
          Gets a String array of the type names of the Object's variables.
 
Methods inherited from class aos.jack.jak.event.MessageEvent
getReply, lostReply, replied, traceReceived, traceSent
 
Methods inherited from class aos.jack.jak.event.Event
computeFirstApplicable, dump, getEventName, getVariable, getVariableValue, getVariableValue, gotException, init_sentinel, isFailed, isPassed, isRunning, remove
 
Methods inherited from class aos.jack.jak.fsm.FSM
describe, discard, exceptionInfo, getAgent, getPreferredPriority, init, loadClass, restart, run, setMode, thrownAnException, toString, traceGoal
 
Methods inherited from class aos.jack.jak.util.Watchable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimeControl

public TimeControl()
Method Detail

getStreamer

public aos.apib.StreamerSupport getStreamer()
Description copied from interface: aos.apib.Base
Returns the StreamerSupport for the object implementing this interface.

Specified by:
getStreamer in interface aos.apib.Base

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object o)

getDocumentation

public java.lang.String getDocumentation()

forward

public TimeControl forward(TimeControl tc)

setup

public TimeControl setup(long t)

setup

public TimeControl setup(java.lang.String ag_name,
                         long t)

begin

public TimeControl begin(long t)

begin

public TimeControl begin(java.lang.String ag_name,
                         long t,
                         int iteration)

begin

public TimeControl begin(long t,
                         int iteration)

end

public TimeControl end(long t,
                       int iterations_left)

end

public TimeControl end(long t)

newTime

public TimeControl newTime(long t)

ready

public TimeControl ready(int m)

ready

public TimeControl ready(int m,
                         long t)

stateInfo

public java.lang.String stateInfo()
Description copied from class: Event
Describe the events current state.

Overrides:
stateInfo in class Event

variableNames

public java.lang.String[] variableNames()
Description copied from class: Event
Gets a String array of the names of the Object's variables. The ordinal of a variable in the array is used to access its value with getValue.

Overrides:
variableNames in class Event

variableTypes

public java.lang.String[] variableTypes()
Description copied from class: Event
Gets a String array of the type names of the Object's variables. The ordering in the array matches that returned by variableNames.

Overrides:
variableTypes in class Event

getVariable

public java.lang.Object getVariable(int n)
Description copied from class: Event
Gets the numbered Object variable.

Overrides:
getVariable in class Event

JACK 5.4 Application Interface

Copyright (C) 1999-2008, Agent Oriented Software Pty. Ltd.

US Government Restricted Rights
The JACK Modules and relevant Software Material have been developed entirely at private expense and are accordingly provided with RESTRICTED RIGHTS. Use, duplication, or disclosure by Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of DFARS 252.227-7013 or subparagraph (c)(1) and (2) of the Commercial Computer Software Restricted Rights and 48 CFR 52.2270-19, as applicable.


Agent Oriented Software Pty. Ltd.     http://www.aosgrp.com
PO Box 639, Carlton South, Victoria 3053, Australia
Phone: +61 3 9349 5055, Fax: +61 3 9349 5088