ptolemy.domains.ct.kernel
Class CTScheduler.SignalTypeMap

java.lang.Object
  extended by ptolemy.domains.ct.kernel.CTScheduler.SignalTypeMap
Enclosing class:
CTScheduler

private class CTScheduler.SignalTypeMap
extends java.lang.Object


Field Summary
private  java.util.LinkedList _continuousActors
           
private  java.util.LinkedList _discreteActors
           
private  java.util.HashMap _map
           
 
Constructor Summary
CTScheduler.SignalTypeMap()
           
 
Method Summary
 java.util.LinkedList getContinuousActors()
           
 java.util.LinkedList getDiscreteActors()
           
 CTReceiver.SignalType getType(IOPort port)
           
 void propagateType(IOPort port)
           
 void propagateTypeInside(IOPort port)
           
 void setType(IOPort port, CTReceiver.SignalType type)
           
 java.lang.String toString()
          Return a string representation for the signal types of all ports.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_map

private java.util.HashMap _map

_continuousActors

private java.util.LinkedList _continuousActors

_discreteActors

private java.util.LinkedList _discreteActors
Constructor Detail

CTScheduler.SignalTypeMap

public CTScheduler.SignalTypeMap()
Method Detail

getContinuousActors

public java.util.LinkedList getContinuousActors()

getDiscreteActors

public java.util.LinkedList getDiscreteActors()

getType

public CTReceiver.SignalType getType(IOPort port)
                              throws NotSchedulableException
Throws:
NotSchedulableException

setType

public void setType(IOPort port,
                    CTReceiver.SignalType type)
             throws NotSchedulableException
Throws:
NotSchedulableException

propagateType

public void propagateType(IOPort port)
                   throws NotSchedulableException
Throws:
NotSchedulableException

propagateTypeInside

public void propagateTypeInside(IOPort port)
                         throws NotSchedulableException
Throws:
NotSchedulableException

toString

public java.lang.String toString()
Return a string representation for the signal types of all ports. It is in the format like: portFullName::signalType.

Overrides:
toString in class java.lang.Object
Returns:
The string representation of the signal types. If the map of the signal types is empty, then return an empty string.