nslj.src.lang
Class NslOutport
java.lang.Object
|
+--nslj.src.lang.NslPort
|
+--nslj.src.lang.NslOutport
- public class NslOutport
- extends NslPort
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_new
public NslData _new
_old
public NslData _old
_temp
public NslData _temp
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
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