nslj.src.lang
Class NslOutport

java.lang.Object
  |
  +--nslj.src.lang.NslPort
        |
        +--nslj.src.lang.NslOutport

public class NslOutport
extends NslPort


Field Summary
 NslData _new
           
 NslData _old
           
 NslData _temp
           
 
Fields inherited from class nslj.src.lang.NslPort
bufferingChanged, doubleBuffering, INPORT, OUTPORT, owner
 
Constructor Summary
NslOutport()
           
NslOutport(NslData n)
          setup this inport.
NslOutport(java.lang.String name)
          construct this port without initializing the number to refer
NslOutport(java.lang.String name, NslData n)
          setup this inport.
 
Method Summary
 NslData getData()
           
 boolean isInitialized()
          Check if this port is initialized
 void nslResetBuffering()
           
 void nslUpdateBuffers()
          nslUpdateBuffers the pointer at the end of each "step"
 void setPort(NslOutport outport)
          setup this inport.
 
Methods inherited from class nslj.src.lang.NslPort
bufferingHasChanged, getOwner, getType, nslGetBuffering, nslGetName, nslSetBuffering
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_new

public NslData _new

_old

public NslData _old

_temp

public NslData _temp
Constructor Detail

NslOutport

public NslOutport()

NslOutport

public NslOutport(java.lang.String name,
                  NslData n)
setup this inport. The supplied NslData n will be duplicated if it is an instance of NslData classes and both will be pointed by this port. Otherwise, both buffers will point to the same data item.
Parameters:
name - name of this port
Throws:
NsllPointerException - if the number supplied is not well-defined.

NslOutport

public NslOutport(NslData n)
setup this inport. The supplied number n will be duplicated and both will be pointed by this port
Throws:
NsllPointerException - if the number supplied is not well-defined.

NslOutport

public NslOutport(java.lang.String name)
construct this port without initializing the number to refer
Parameters:
name - name of the port
Method Detail

setPort

public void setPort(NslOutport outport)
setup this inport. The internal variable of this port will point to the corresponding variable of the supplied port.
Parameters:
outport - Outport to be refered
Throws:
NsllPointerException - if the port supplied is not well-defined.

isInitialized

public boolean isInitialized()
Check if this port is initialized
Overrides:
isInitialized in class NslPort
Returns:
true if initialized.

nslResetBuffering

public void nslResetBuffering()

nslUpdateBuffers

public void nslUpdateBuffers()
nslUpdateBuffers the pointer at the end of each "step"

getData

public NslData getData()
Overrides:
getData in class NslPort