rcxport
Class RCXProgram
java.lang.Object
|
+--rcxport.RCXProgram
- public class RCXProgram
- extends Object
- implements Serializable
Representation of an RCX program. Includes both a set of tasks and
a set of subroutines.
- Author:
- Scott B. Lewis, slewis@teleport.com
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
MAX_TASKS
public static final int MAX_TASKS
MAX_PROGS
public static final int MAX_PROGS
myTasks
Vector myTasks
mySubs
Vector mySubs
myProgNum
byte myProgNum
RCXProgram
public RCXProgram(byte prog)
RCXProgram
public RCXProgram(byte prog,
RCXTask aTask)
RCXProgram
public RCXProgram(byte prog,
byte[] aTask)
addTask
public RCXProgram addTask(RCXTask task)
addSub
public RCXProgram addSub(RCXSub aSub)
downloadTasks
protected void downloadTasks(RCXPort aPort)
throws IOException
downloadSubroutines
protected void downloadSubroutines(RCXPort aPort)
throws IOException
getProgramNum
protected int getProgramNum()