Package org.refcodes.codec
Interface ModemMetrics
-
- All Superinterfaces:
ChannelSelectorAccessor
,FrequencyThresholdAccessor
,ModemModeAccessor
,ModulationFormatAccessor
,SampleRateAccessor
- All Known Implementing Classes:
ModemMetricsImpl
public interface ModemMetrics extends SampleRateAccessor, ModulationFormatAccessor, ChannelSelectorAccessor, ModemModeAccessor, FrequencyThresholdAccessor
The Interface ModemMetrics.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.codec.ChannelSelectorAccessor
ChannelSelectorAccessor.ChannelSelectorBuilder<B extends ChannelSelectorAccessor.ChannelSelectorBuilder<B>>, ChannelSelectorAccessor.ChannelSelectorMutator, ChannelSelectorAccessor.ChannelSelectorProperty
-
Nested classes/interfaces inherited from interface org.refcodes.codec.FrequencyThresholdAccessor
FrequencyThresholdAccessor.FrequencyThresholdBuilder<B extends FrequencyThresholdAccessor.FrequencyThresholdBuilder<B>>, FrequencyThresholdAccessor.FrequencyThresholdMutator, FrequencyThresholdAccessor.FrequencyThresholdProperty
-
Nested classes/interfaces inherited from interface org.refcodes.codec.ModemModeAccessor
ModemModeAccessor.ModemModeBuilder<B extends ModemModeAccessor.ModemModeBuilder<B>>, ModemModeAccessor.ModemModeMutator, ModemModeAccessor.ModemModeProperty
-
Nested classes/interfaces inherited from interface org.refcodes.codec.ModulationFormatAccessor
ModulationFormatAccessor.ModulationFormatBuilder<B extends ModulationFormatAccessor.ModulationFormatBuilder<B>>, ModulationFormatAccessor.ModulationFormatMutator, ModulationFormatAccessor.ModulationFormatProperty
-
Nested classes/interfaces inherited from interface org.refcodes.codec.SampleRateAccessor
SampleRateAccessor.SampleRateBuilder<B extends SampleRateAccessor.SampleRateBuilder<B>>, SampleRateAccessor.SampleRateMutator, SampleRateAccessor.SampleRateProperty
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default int
toHigherFrequencyUpperThreshold()
Calculates the upper threshold for the higher frequency.default int
toLowerFrequencyUpperThreshold()
Calculates the upper threshold for the lower frequency.default int
toSamplesPerBit()
Calculates the samples per bit.-
Methods inherited from interface org.refcodes.codec.ChannelSelectorAccessor
getChannelSelector
-
Methods inherited from interface org.refcodes.codec.FrequencyThresholdAccessor
getFrequencyThreshold
-
Methods inherited from interface org.refcodes.codec.ModemModeAccessor
getModemMode
-
Methods inherited from interface org.refcodes.codec.ModulationFormatAccessor
getModulationFormat
-
Methods inherited from interface org.refcodes.codec.SampleRateAccessor
getSampleRate
-
-
-
-
Method Detail
-
toHigherFrequencyUpperThreshold
default int toHigherFrequencyUpperThreshold()
Calculates the upper threshold for the higher frequency.- Returns:
- The according threshold.
-
toLowerFrequencyUpperThreshold
default int toLowerFrequencyUpperThreshold()
Calculates the upper threshold for the lower frequency.- Returns:
- The according threshold.
-
toSamplesPerBit
default int toSamplesPerBit()
Calculates the samples per bit.- Returns:
- The according number of samples.
-
-