Class
Tree
Deprecated
Index
Help
Insulin Pump
PREV NEXT
FRAMES
NO FRAMES
A
B
C
D
E
G
H
I
L
M
N
P
Q
R
S
T
U
W
A
AboutDialog
- class
AboutDialog
.
AboutDialog(Frame, boolean)
- Constructor for class
AboutDialog
AboutDialog(Frame, String, boolean)
- Constructor for class
AboutDialog
addNotify()
- Method in class
AboutDialog
addNotify()
- Method in class
Display
addNotify()
- Method in class
QuitDialog
aNewSecondHasPassed()
- Method in class
GenericTestBed
This method is called each time the
Clock
class completes a control loop cycle.
aNewSecondHasPassed()
- Method in class
SampleTestBed
aNewSecondHasPassed()
- Method in class
ToyTestBed
B
batteryIsAtLowLevel()
- Method in class
HardwareSimulatorAPI
bigReinitHack()
- Static method in class
Controller
This is very poor programming.
bigReinitHack()
- Static method in class
Display
C
changeState(int)
- Static method in class
Controller
Clock
- class
Clock
.
Clock()
- Constructor for class
Clock
Clock(int, int, int)
- Constructor for class
Clock
clockCalibration
- Static variable in class
Clock
closeInsulinDisplay()
- Static method in class
Display
Controller
- class
Controller
.
Controller()
- Constructor for class
Controller
D
deliveryIsWorking()
- Method in class
HardwareSimulatorAPI
destroyInsulinPump()
- Method in class
GenericTestBed
Stops the pump being executed and destroys it.
display
- Variable in class
GenericTestBed
Display
- class
Display
.
Display()
- Constructor for class
Display
Display(String)
- Constructor for class
Display
displayDose(String)
- Static method in class
Display
displayOutput(String)
- Method in class
Clock
displayOutput(String)
- Static method in class
Display
DisplaySimulatorAPI
- class
DisplaySimulatorAPI
.
DisplaySimulatorAPI(GenericTestBed)
- Constructor for class
DisplaySimulatorAPI
durationOfExperience
- Variable in class
SampleTestBed
E
ERROR
- Static variable in class
Controller
G
GenericTestBed
- class
GenericTestBed
.
This abstract class provides the basic interface to implement a test bed class.
GenericTestBed()
- Constructor for class
GenericTestBed
getActiveTestBedObject()
- Static method in class
GenericTestBed
getClockSeconds()
- Method in class
Clock
getClockTime()
- Static method in class
Controller
getSimulationTime()
- Method in class
GenericTestBed
An helper method to get the time elapsed since the start of the pump (in seconds.
H
hardware
- Variable in class
GenericTestBed
HardwareSimulatorAPI
- class
HardwareSimulatorAPI
.
This is a facade class that offers a number of methos to simulate a number of hardware events.
HardwareSimulatorAPI(GenericTestBed)
- Constructor for class
HardwareSimulatorAPI
I
insulinReplaced()
- Static method in class
Controller
insulinReservoirIsPresent()
- Method in class
HardwareSimulatorAPI
isDeliveryWorking()
- Static method in class
Controller
isRunning()
- Method in class
Clock
L
launchNewInsulinPump()
- Method in class
GenericTestBed
Creates a new insulin pump and starts executing it.Only one insulin pump is allowed at a time.
M
main(String[])
- Static method in class
Display
main(String[])
- Static method in class
SampleTestBed
main(String[])
- Static method in class
ToyTestBed
manualButtonPressed(boolean)
- Static method in class
Controller
N
needleIsPresent()
- Method in class
HardwareSimulatorAPI
numberOfFailedExperience
- Variable in class
SampleTestBed
P
printMessage(String)
- Method in class
GenericTestBed
An helper method to pretty-print messages on the console.
pumpIsWorking()
- Method in class
HardwareSimulatorAPI
pushButtonAdministerInsulin(int)
- Method in class
DisplaySimulatorAPI
pushButtonOperatorModeChange()
- Method in class
DisplaySimulatorAPI
Q
QuitDialog
- class
QuitDialog
.
QuitDialog(Frame, boolean)
- Constructor for class
QuitDialog
QuitDialog(Frame, String, boolean)
- Constructor for class
QuitDialog
R
readClockDisplay()
- Static method in class
Display
readClockDisplay()
- Method in class
DisplaySimulatorAPI
readLastDoseDisplay()
- Static method in class
Display
readLastDoseDisplay()
- Method in class
DisplaySimulatorAPI
readOutputDisplay()
- Static method in class
Display
readOutputDisplay()
- Method in class
DisplaySimulatorAPI
removeInsulinReservoir()
- Method in class
HardwareSimulatorAPI
removeNeedle()
- Method in class
HardwareSimulatorAPI
repairDelivery()
- Method in class
HardwareSimulatorAPI
repairPump()
- Method in class
HardwareSimulatorAPI
repairSugarSensor()
- Method in class
HardwareSimulatorAPI
replaceBattery()
- Method in class
HardwareSimulatorAPI
replaceInsulinReservoir()
- Method in class
HardwareSimulatorAPI
replaceNeedle()
- Method in class
HardwareSimulatorAPI
resetCumulativeDose()
- Static method in class
Controller
run()
- Method in class
Clock
run()
- Method in class
Simulator
RUNNING
- Static variable in class
Controller
runTestSet()
- Method in class
SampleTestBed
S
safetyPropertyIsRespected()
- Method in class
SampleTestBed
This method check the safety property targeted by the test bed: "after the insulin reservoir has been removed for at least 20s, the display should not tell the user that some insulin is remaining".
SampleTestBed
- class
SampleTestBed
.
A sample test bed class.
SampleTestBed()
- Constructor for class
SampleTestBed
sensorIsWorking()
- Method in class
HardwareSimulatorAPI
setBatteryAtLowLevel()
- Method in class
HardwareSimulatorAPI
setDeliveryWorking(boolean)
- Static method in class
Controller
SetDose(int)
- Static method in class
Controller
setDurationOfOneSecondInMS(int)
- Method in class
GenericTestBed
By default one second lasts 1000ms in the controlling loop.
setSugarNewSensorReading(int)
- Method in class
HardwareSimulatorAPI
setVisible(boolean)
- Method in class
AboutDialog
setVisible(boolean)
- Method in class
Display
Shows or hides the component depending on the boolean flag b.
setVisible(boolean)
- Method in class
QuitDialog
Shows or hides the component depending on the boolean flag b.
simulateDeliveryFailure()
- Method in class
HardwareSimulatorAPI
simulatePumpFailure()
- Method in class
HardwareSimulatorAPI
simulateSugarSensorFailure()
- Method in class
HardwareSimulatorAPI
Simulator
- class
Simulator
.
Simulator()
- Constructor for class
Simulator
startClock()
- Static method in class
Controller
startClock(int, int, int)
- Static method in class
Controller
startClockBlocking(int, int, int)
- Static method in class
Controller
startInsulinPumpController()
- Method in class
HardwareSimulatorAPI
stopClock()
- Static method in class
Controller
stopClockBlocking()
- Method in class
Clock
stopInsulinPumpController()
- Method in class
HardwareSimulatorAPI
switchMode()
- Method in class
Display
T
timeSinceReservoirHasBeenRemoved
- Variable in class
SampleTestBed
timeWhenInsulinInjected
- Variable in class
SampleTestBed
timeWhenReservoirIsRemoved
- Variable in class
SampleTestBed
ToyTestBed
- class
ToyTestBed
.
A minimal test bed class to demonstrate the use of
GenericTestBed
.
ToyTestBed()
- Constructor for class
ToyTestBed
U
updateClock(int)
- Static method in class
Controller
updateClock(String, int)
- Static method in class
Display
W
WARNING
- Static variable in class
Controller
A
B
C
D
E
G
H
I
L
M
N
P
Q
R
S
T
U
W
Class
Tree
Deprecated
Index
Help
Insulin Pump
PREV NEXT
FRAMES
NO FRAMES