Package ptolemy.domains.coroutine.kernel
Class ControlEntryToken
- java.lang.Object
 - 
- ptolemy.data.Token
 - 
- ptolemy.domains.coroutine.kernel.ControlToken
 - 
- ptolemy.domains.coroutine.kernel.ControlEntryToken
 
 
 
 
- 
public class ControlEntryToken extends ControlToken
- Since:
 - Ptolemy II 11.0
 - Version:
 - $Id$
 - Author:
 - shaver
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classControlEntryToken.ControlTypestatic classControlEntryToken.EntryLocation- 
Nested classes/interfaces inherited from class ptolemy.domains.coroutine.kernel.ControlToken
ControlToken.Location 
 - 
 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ControlEntryTokenEnter(ControlEntryToken.EntryLocation l)static ControlEntryTokenEntryToken(java.lang.String etS)ControlEntryToken.EntryLocationgetLocation()static ControlEntryTokenInit()booleanisEntry()booleanisExit()booleanisInit()booleanisLocation()booleanisResume()static ControlEntryTokenResume()java.lang.StringtoString()Return the value of this token as a string that can be parsed by the expression language to recover a token with the same value.- 
Methods inherited from class ptolemy.data.Token
add, addReverse, divide, divideReverse, getType, isCloseTo, isCloseTo, isEqualTo, isNil, modulo, moduloReverse, multiply, multiplyReverse, notSupportedConversionMessage, notSupportedIncomparableConversionMessage, notSupportedIncomparableMessage, notSupportedMessage, notSupportedNullNilStringMessage, one, pow, subtract, subtractReverse, zero, zeroReturnType 
 - 
 
 - 
 
- 
- 
Method Detail
- 
EntryToken
public static ControlEntryToken EntryToken(java.lang.String etS)
 
- 
Init
public static ControlEntryToken Init()
 
- 
Resume
public static ControlEntryToken Resume()
 
- 
Enter
public static ControlEntryToken Enter(ControlEntryToken.EntryLocation l)
 
- 
isEntry
public boolean isEntry()
- Specified by:
 isEntryin classControlToken
 
- 
isExit
public boolean isExit()
- Specified by:
 isExitin classControlToken
 
- 
isInit
public boolean isInit()
 
- 
isResume
public boolean isResume()
 
- 
isLocation
public boolean isLocation()
 
- 
getLocation
public ControlEntryToken.EntryLocation getLocation()
 
- 
toString
public java.lang.String toString()
Description copied from class:TokenReturn the value of this token as a string that can be parsed by the expression language to recover a token with the same value. This method should be overridden by derived classes. In this base class, return the String "present" to indicate that an event is present. If this token isToken.NILthen return "nil" 
 - 
 
 -