All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pbsim.Program

java.lang.Object
   |
   +----pbsim.Program

public class Program
extends java.lang.Object
This class is the external representation of a PBrick program. In most cases, clients will read a program from an NQC-generated file using the RCXIReader class, and then hand the program to the PBrick by calling PBrick.load().


Constructor Index

 o Program(int)

Method Index

 o getFragment(int)
 o getFragmentCount()
 o setFragment(int, Fragment)

Constructors

 o Program
 public Program(int fragCount)

Methods

 o getFragment
 public pbsim.Fragment getFragment(int i)
 o setFragment
 public void setFragment(int i,
                         pbsim.Fragment f)
 o getFragmentCount
 public int getFragmentCount()

All Packages  Class Hierarchy  This Package  Previous  Next  Index