/** * @see nl.lxtreme.ols.api.data.CapturedData#getValues() */ @Override public int[] getValues() { return hasCapturedData() ? getAcquisitionData().getValues() : new int[0]; }
/** * @see nl.lxtreme.ols.api.data.CapturedData#getSampleIndex(long) */ @Override public int getSampleIndex( final long aAbs ) { return hasCapturedData() ? getAcquisitionData().getSampleIndex( aAbs ) : Ols.NOT_AVAILABLE; }
/** * @see nl.lxtreme.ols.api.data.CapturedData#getAbsoluteLength() */ @Override public long getAbsoluteLength() { return hasCapturedData() ? getAcquisitionData().getAbsoluteLength() : Ols.NOT_AVAILABLE; }
/** * @see nl.lxtreme.ols.api.data.CapturedData#getChannels() */ @Override public int getChannels() { return hasCapturedData() ? getAcquisitionData().getChannels() : Ols.NOT_AVAILABLE; }
/** * @see nl.lxtreme.ols.api.data.CapturedData#getEnabledChannels() */ @Override public int getEnabledChannels() { return hasCapturedData() ? getAcquisitionData().getEnabledChannels() : Ols.NOT_AVAILABLE; }
/** * @see nl.lxtreme.ols.api.data.CapturedData#hasTriggerData() */ @Override public boolean hasTriggerData() { return hasCapturedData() ? getAcquisitionData().hasTriggerData() : false; }
/** * @see nl.lxtreme.ols.api.data.CapturedData#getSampleRate() */ @Override public int getSampleRate() { return hasCapturedData() ? getAcquisitionData().getSampleRate() : Ols.NOT_AVAILABLE; }
/** * @see nl.lxtreme.ols.api.data.CapturedData#getTimestamps() */ @Override public long[] getTimestamps() { return hasCapturedData() ? getAcquisitionData().getTimestamps() : new long[0]; }
/** * @see nl.lxtreme.ols.api.data.CapturedData#hasTimingData() */ @Override public boolean hasTimingData() { return hasCapturedData() ? getAcquisitionData().hasTimingData() : false; }
/** * @see nl.lxtreme.ols.api.data.CapturedData#getTriggerPosition() */ @Override public long getTriggerPosition() { return hasCapturedData() && hasTriggerData() ? getAcquisitionData().getTriggerPosition() : Ols.NOT_AVAILABLE; }