|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataAcquisitionService
Denotes a service for acquiring data from a device.
Method Summary | |
---|---|
void |
acquireData(Device aDevice)
Acquires data from the given device. |
void |
cancelAcquisition(Device aDevice)
Signals that the current acquisition should be cancelled. |
boolean |
isAcquiring()
Returns whether or not this device controller is acquiring data. |
Method Detail |
---|
void cancelAcquisition(Device aDevice) throws IOException, IllegalStateException
aDevice
- the device from which data should be acquired, cannot be
null
;
IOException
- in case of I/O problems during the acquisition of data;
IllegalStateException
- in case no acquisition is in progress.boolean isAcquiring()
true
if this device controller is currently acquiring
data (or waiting to start capturing due to a trigger),
false
otherwise.void acquireData(Device aDevice) throws IOException
aDevice
- the device from which data should be acquired, cannot be
null
;
IOException
- in case of I/O problems during the acquisition of data;
IllegalArgumentException
- in case the given device was null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |