|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfr.emn.reactiveinput.Slot
fr.emn.reactiveinput.Out
Pending: there are 3 types defined: type, supertype and value.type. Try to remove redondancies.
| Field Summary | |
protected fr.emn.reactiveinput.Value |
oldValue
|
| Fields inherited from class fr.emn.reactiveinput.Slot |
description, dynamic, help, mutable, name, owner, supertype, type |
| Constructor Summary | |
Out(Device owner,
java.lang.String name,
int type)
USE: Design. |
|
Out(MutableDevice owner,
java.lang.String name,
int supertype,
boolean mutable)
USE: Design. |
|
Out(MutableDevice owner,
java.lang.String name,
int supertype,
boolean mutable,
boolean dynamic)
USE: Design. |
|
| Method Summary | |
In[] |
getConnected()
REMOVE. |
int |
getConnectedType()
USE : Design. |
boolean |
isValid()
USE: Design / Execution. |
protected void |
sendSignal()
Notifies the network for the changes in following input slots. |
void |
setBooleanValue(boolean newValue)
USE: Execution. |
void |
setBooleanValue(boolean newValue,
boolean signal)
If signal == false, sends a signal only if value has changed. |
void |
setDoubleValue(double newValue)
USE: Execution. |
void |
setDoubleValue(double newValue,
boolean signal)
USE: Execution. |
void |
setIntValue(int newValue)
USE: Execution. |
void |
setIntValue(int newValue,
boolean signal)
USE: Execution. |
void |
setObjectValue(java.lang.Object newValue)
USE: Execution. |
void |
setObjectValue(java.lang.Object newValue,
boolean signal)
USE: Execution. |
void |
setStringValue(java.lang.String newValue)
USE: Execution. |
| Methods inherited from class fr.emn.reactiveinput.Slot |
flatten, flatten, flatten, getDescription, getHelp, getName, getParent, getProperties, getSupertype, getType, isDynamic, isMutable, remove, rename, setDescription, setHelp, setInfo, setProperties, setType, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected fr.emn.reactiveinput.Value oldValue
| Constructor Detail |
public Out(Device owner,
java.lang.String name,
int type)
public Out(MutableDevice owner,
java.lang.String name,
int supertype,
boolean mutable)
public Out(MutableDevice owner,
java.lang.String name,
int supertype,
boolean mutable,
boolean dynamic)
| Method Detail |
public In[] getConnected()
public int getConnectedType()
This method returns the best subtype matching all connected Input Slots (i.e., the Inf()), or ANY if no connection.
getConnectedType in class Slotpublic boolean isValid()
An output slot is valid if it belongs to an openable device.
isValid in class Slotprotected void sendSignal()
public void setBooleanValue(boolean newValue)
public void setBooleanValue(boolean newValue,
boolean signal)
public void setDoubleValue(double newValue)
public void setDoubleValue(double newValue,
boolean signal)
public void setIntValue(int newValue)
public void setIntValue(int newValue,
boolean signal)
public void setObjectValue(java.lang.Object newValue)
public void setObjectValue(java.lang.Object newValue,
boolean signal)
public void setStringValue(java.lang.String newValue)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||