at.dms.kjc.spacedynamic
Class IODevice

java.lang.Object
  extended by at.dms.kjc.spacedynamic.IODevice
Direct Known Subclasses:
FileReaderDevice, FileWriterDevice

public abstract class IODevice
extends Object

Abstract Class that represents io devices that can be attached to IOPorts


Field Summary
protected  boolean isDynamic
          true if this IODevice communicates over the GDN
protected  IOPort port
          The port interfaced to by this device
 
Constructor Summary
IODevice()
           
 
Method Summary
 void connect(IOPort p)
           
 IOPort getPort()
           
 boolean isDynamic()
           
 boolean isFileReader()
           
abstract  String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

port

protected IOPort port
The port interfaced to by this device


isDynamic

protected boolean isDynamic
true if this IODevice communicates over the GDN

Constructor Detail

IODevice

public IODevice()
Method Detail

toString

public abstract String toString()
Overrides:
toString in class Object

getPort

public IOPort getPort()

isDynamic

public boolean isDynamic()

connect

public void connect(IOPort p)

isFileReader

public boolean isFileReader()