Acquisition
Class AcquisitionCProcess
java.lang.Object
backendCInterfase.BackendProcess
Acquisition.AcquisitionCProcess
public class AcquisitionCProcess
- extends BackendProcess
|
Method Summary |
java.lang.Object |
getParams()
Get params to be passed over to the JNI C code. |
void |
newData(int dataType,
int channelMap,
short[] data,
int dataLenBytes)
|
boolean |
prepareProcess()
Will be called before start up so that the
process can take any special actions needed to inhibit parts
of the java operation. |
void |
setStatus(int status)
Receive status information back across the JNI from the backend process. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
acquisitionControl
private AcquisitionControl acquisitionControl
acquisitionProcess
private AcquisitionProcess acquisitionProcess
runningDaqSystem
private DaqSystem runningDaqSystem
totalSamples
private long totalSamples
newDataUnits
protected java.util.List<RawDataUnit> newDataUnits
acquisitionCParameters
private AcquisitionCParameters acquisitionCParameters
AcquisitionCProcess
public AcquisitionCProcess(AcquisitionProcess parentProcess)
prepareProcess
public boolean prepareProcess()
- Description copied from class:
BackendProcess
- Will be called before start up so that the
process can take any special actions needed to inhibit parts
of the java operation.
- Specified by:
prepareProcess in class BackendProcess
- Returns:
- true if all Ok.
getParams
public java.lang.Object getParams()
- Description copied from class:
BackendProcess
- Get params to be passed over to the JNI C code.
Params should be in the form of a Java structure. Module specific C Code
on the other side will unpack the Java parameters and turn it into an equivalent
C structure.
There must be a perfect match between the Java and the C or the program will crash
- Specified by:
getParams in class BackendProcess
- Returns:
- Object containing configuration parameters for this module.
setStatus
public void setStatus(int status)
- Description copied from class:
BackendProcess
- Receive status information back across the JNI from the backend process.
- Overrides:
setStatus in class BackendProcess
- Parameters:
status - status flag.
newData
public void newData(int dataType,
int channelMap,
short[] data,
int dataLenBytes)
- Specified by:
newData in class BackendProcess