com.yobotics.simulationconstructionset.whiteBoard
Class DataStreamYoWhiteBoard
java.lang.Object
com.yobotics.simulationconstructionset.whiteBoard.YoWhiteBoard
com.yobotics.simulationconstructionset.whiteBoard.DataStreamYoWhiteBoard
- All Implemented Interfaces:
- java.lang.Runnable
- Direct Known Subclasses:
- TCPYoWhiteBoard, UDPYoWhiteBoard
public abstract class DataStreamYoWhiteBoard
- extends YoWhiteBoard
- implements java.lang.Runnable
Methods inherited from class com.yobotics.simulationconstructionset.whiteBoard.YoWhiteBoard |
attachYoWhiteBoardListener, close, connect, getAllVariablesToRead, getAllVariablesToWrite, getNumberOfBooleansToRead, getNumberOfDoublesToRead, getNumberOfEnumsToRead, getNumberOfIntsToRead, getNumberOfNewDataSinceLastRead, getReadIndex, getWriteIndex, haveVariablesToReadAndWriteBeenSet, isConnected, isNewDataAvailable, readData, setVariablesToRead, setVariablesToWrite, writeData |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataStreamYoWhiteBoard
public DataStreamYoWhiteBoard(java.lang.String name,
boolean writeOutConnect,
boolean readInConnect)
DataStreamYoWhiteBoard
public DataStreamYoWhiteBoard(java.lang.String name,
boolean writeOutConnect,
boolean readInConnect,
boolean createYoVariablesOnConnect,
YoVariableRegistry rootRegistryToAddVariablesTo)
setDataStreams
public void setDataStreams(java.io.DataInputStream dataInputStream,
java.io.DataOutputStream dataOutputStream)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
whiteBoardSpecificConnect
public void whiteBoardSpecificConnect()
throws java.io.IOException
- Specified by:
whiteBoardSpecificConnect
in class YoWhiteBoard
- Throws:
java.io.IOException
whiteBoardSpecificClose
public void whiteBoardSpecificClose()
throws java.io.IOException
- Specified by:
whiteBoardSpecificClose
in class YoWhiteBoard
- Throws:
java.io.IOException
whiteBoardSpecificWriteData
public void whiteBoardSpecificWriteData(double[] doubleVariablesToWriteBuffer,
int[] intVariablesToWriteBuffer,
boolean[] booleanVariablesToWriteBuffer,
int[] enumVariablesToWriteBuffer,
int writeIndex)
throws java.io.IOException
- Specified by:
whiteBoardSpecificWriteData
in class YoWhiteBoard
- Throws:
java.io.IOException