edu.rice.comp211.laundry.ui
Class StudentModel

java.lang.Object
  extended by edu.rice.comp211.laundry.ui.StudentModel

public class StudentModel
extends Object

Date: Mar 24, 2010 Time: 12:26:45 AM


Field Summary
(package private)  PrintStream pOut
           
 
Constructor Summary
StudentModel()
           
 
Method Summary
protected  void addStudent(Student pStudent, IOProcess pIOProcess)
           
protected  List<Garment> cleanPants()
           
protected  List<Garment> cleanShirts()
           
protected  List<Garment> cleanSocks()
           
protected  void clearStudents()
           
protected  List<Object> currentGarments()
           
protected  List<Garment> dirtyPile()
           
protected  boolean doneExecuting()
           
protected  void executeCommand(Command pCommand)
           
protected  void executeCommand(int index, Command pCommand)
           
protected  Student firstStudent()
           
 List<String> getExecCommands()
           
protected  List<Garment> laundryRoom()
           
protected  void runAllSteps()
           
protected  void runOneStep()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pOut

PrintStream pOut
Constructor Detail

StudentModel

public StudentModel()
Method Detail

addStudent

protected void addStudent(Student pStudent,
                          IOProcess pIOProcess)

firstStudent

protected Student firstStudent()

executeCommand

protected void executeCommand(Command pCommand)

executeCommand

protected void executeCommand(int index,
                              Command pCommand)

currentGarments

protected List<Object> currentGarments()

cleanShirts

protected List<Garment> cleanShirts()

cleanPants

protected List<Garment> cleanPants()

cleanSocks

protected List<Garment> cleanSocks()

dirtyPile

protected List<Garment> dirtyPile()

laundryRoom

protected List<Garment> laundryRoom()

getExecCommands

public List<String> getExecCommands()

clearStudents

protected void clearStudents()

doneExecuting

protected boolean doneExecuting()

runOneStep

protected void runOneStep()

runAllSteps

protected void runAllSteps()