hades.signals
Class PortInteger

java.lang.Object
  extended byhades.simulator.Port
      extended byhades.signals.PortInteger
All Implemented Interfaces:
ContextToolTip, java.io.Serializable

public class PortInteger
extends Port

PortInteger - a simple utility subclass of hades.simulator.Port

See Also:
Serialized Form

Field Summary
 
Fields inherited from class hades.simulator.Port
BIDIR, class1164, GND, handler, IN, INOUT, name, optArg, OUT, parent, PASSIVE_IN, signal, signalClass, TOPLEVEL_IN, type, UNUSED, value, VCC
 
Constructor Summary
PortInteger(SimObject parent, java.lang.String name, int type, Signal signal)
           
 
Method Summary
 java.lang.Integer getValueOrUUU()
           
 boolean hasEvent()
          check whether the Signal connected to this Port has an event at the current simulation time.
 
Methods inherited from class hades.simulator.Port
getHandler, getName, getOptArg, getParent, getSignal, getSignalClass, getToolTip, getType, getTypeString, getValue, isInputPort, isPowerPort, setHandler, setName, setOptArg, setParent, setSignal, setValue, tearDown, toString, toStringVerbose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PortInteger

public PortInteger(SimObject parent,
                   java.lang.String name,
                   int type,
                   Signal signal)
Method Detail

getValueOrUUU

public java.lang.Integer getValueOrUUU()

hasEvent

public boolean hasEvent()
check whether the Signal connected to this Port has an event at the current simulation time. Return false if no Signal is connected to this port.