|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.ac.sbg.cosy.soccerbot.controller.Boolean_port
public class Boolean_port
A port for boolean values (used for bumper sensor)
Constructor Summary | |
---|---|
Boolean_port()
|
Method Summary | |
---|---|
void |
copyValueFrom(giotto.functionality.interfaces.PortVariable source)
Copies its internal state from a source port variable |
boolean |
getBoolValue()
Returns its internal state |
void |
setBoolValue(boolean value)
Sets its internal state |
java.lang.String |
toString()
Prints its state (boolean value) |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Boolean_port()
Method Detail |
---|
public void copyValueFrom(giotto.functionality.interfaces.PortVariable source)
copyValueFrom
in interface giotto.functionality.interfaces.PortVariable
public boolean getBoolValue()
public void setBoolValue(boolean value)
value
- boolean valuepublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |