public class CODAStateMachineAdapter extends java.lang.Object implements CODAStateMachine
Constructor and Description |
---|
CODAStateMachineAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
download()
This method implements the DOWNLOAD transition of the CODA run control state machine.
|
void |
end()
This method implements the END transition of the CODA run control state machine.
|
EmuEventNotify |
getEndCallback()
This method gets the callback object previously registered by the caller
used to notify upon the arrival of an END event.
|
EmuEventNotify |
getPrestartCallback()
This method gets the callback object previously registered by the caller
used to notify upon the arrival of a PRESTART event.
|
void |
go()
This method implements the GO transition of the CODA run control state machine.
|
void |
pause()
This method implements the PAUSE transition of the CODA run control state machine.
|
void |
prestart()
This method implements the PRESTART transition of the CODA run control state machine.
|
void |
registerEndCallback(EmuEventNotify callback)
This method allows for setting a object used to notify the caller when an END event
has arrived (or any other occurrence for that matter).
|
void |
registerPrestartCallback(EmuEventNotify callback)
This method allows for setting a object used to notify the caller when a PRESTART event
has arrived (or any other occurrence for that matter).
|
void |
reset()
This method implements the RESET transition of the CODA run control state machine.
|
public void go() throws CmdExecException
go
in interface CODAStateMachine
CmdExecException
- if error during command execution.public void end() throws CmdExecException
end
in interface CODAStateMachine
CmdExecException
- if error during command execution.public void pause() throws CmdExecException
pause
in interface CODAStateMachine
CmdExecException
- if error during command execution.public void prestart() throws CmdExecException
prestart
in interface CODAStateMachine
CmdExecException
- if error during command execution.public void download() throws CmdExecException
download
in interface CODAStateMachine
CmdExecException
- if error during command execution.public void reset()
reset
in interface CODAStateMachine
public void registerEndCallback(EmuEventNotify callback)
registerEndCallback
in interface CODAStateMachine
callback
- object used for notifying caller.public EmuEventNotify getEndCallback()
getEndCallback
in interface CODAStateMachine
public void registerPrestartCallback(EmuEventNotify callback)
registerPrestartCallback
in interface CODAStateMachine
callback
- object used for notifying caller.public EmuEventNotify getPrestartCallback()
getPrestartCallback
in interface CODAStateMachine