public interface IrStreamItem extends XmlExport
| Modifier and Type | Method and Description |
|---|---|
TreeSet<Double> |
allDurationsInMicros(GeneralSpec generalSpec,
NameEngine nameEngine)
Delivers a set of all the contained durations in microseconds.
|
Set<String> |
assignmentVariables() |
boolean |
constant(NameEngine nameEngine) |
void |
decode(RecognizeData recognizeData,
List<BitSpec> bitSpecStack,
boolean isLast) |
DurationType |
endingDurationType(DurationType last,
boolean gapFlashBitSpecs) |
void |
evaluate(RenderData renderData,
List<BitSpec> bitSpecStack) |
List<IrStreamItem> |
extractPass(IrSignal.Pass pass,
IrSignal.Pass state) |
Integer |
guessParameterLength(String name)
Tries to infer the bit-length of the parameter with name as the argument.
|
boolean |
hasExtent() |
boolean |
interleavingOk(DurationType last,
boolean gapFlashBitSpecs) |
boolean |
interleavingOk(DurationType toCheck,
DurationType last,
boolean gapFlashBitSpecs) |
boolean |
isEmpty(NameEngine nameEngine) |
Double |
microSeconds(GeneralSpec generalSpec,
NameEngine nameEngine) |
static IrStreamItem |
newIrStreamItem(IrpParser.Irstream_itemContext ctx) |
static IrStreamItem |
newIrStreamItem(ParserDriver parserDriver) |
static IrStreamItem |
newIrStreamItem(String str) |
boolean |
nonConstantBitFieldLength() |
Integer |
numberOfBareDurations(boolean recursive) |
Integer |
numberOfBits()
Computes the number of encoded bits, which may differ from the number of payload bits,
in the case of redundancy.
|
Integer |
numberOfBitSpecs() |
Integer |
numberOfDurations()
Upper limit of the number of (interleaving) durations in the rendered signal.
|
int |
numberOfInfiniteRepeats() |
Map<String,Object> |
propertiesMap(GeneralSpec generalSpec,
NameEngine nameEngine) |
Map<String,Object> |
propertiesMap(int noProperites) |
void |
render(RenderData renderData,
List<BitSpec> bitSpecs) |
DurationType |
startingDuratingType(DurationType last,
boolean gapFlashBitSpecs) |
IrSignal.Pass |
stateWhenEntering(IrSignal.Pass pass) |
IrSignal.Pass |
stateWhenExiting(IrSignal.Pass pass) |
IrStreamItem |
substituteConstantVariables(Map<String,Long> constantVariables)
Returns an IrStreamItem of the same type with all occurrences of the
variables in the dictionary replaced by their values in the dictionary.
|
String |
toIrpString(int radix) |
int |
weight() |
toDocument, toElementstatic IrStreamItem newIrStreamItem(String str)
static IrStreamItem newIrStreamItem(ParserDriver parserDriver)
static IrStreamItem newIrStreamItem(IrpParser.Irstream_itemContext ctx)
boolean isEmpty(NameEngine nameEngine) throws NameUnassignedException, IrpInvalidArgumentException
boolean interleavingOk(DurationType last, boolean gapFlashBitSpecs)
last - gapFlashBitSpecs - boolean interleavingOk(DurationType toCheck, DurationType last, boolean gapFlashBitSpecs)
DurationType endingDurationType(DurationType last, boolean gapFlashBitSpecs)
DurationType startingDuratingType(DurationType last, boolean gapFlashBitSpecs)
Integer numberOfBits()
Integer numberOfBareDurations(boolean recursive)
Integer numberOfDurations()
Integer numberOfBitSpecs()
TreeSet<Double> allDurationsInMicros(GeneralSpec generalSpec, NameEngine nameEngine)
generalSpec - nameEngine - IrSignal.Pass stateWhenEntering(IrSignal.Pass pass)
IrSignal.Pass stateWhenExiting(IrSignal.Pass pass)
void render(RenderData renderData, List<BitSpec> bitSpecs) throws NameUnassignedException
NameUnassignedExceptionboolean hasExtent()
Map<String,Object> propertiesMap(GeneralSpec generalSpec, NameEngine nameEngine)
Double microSeconds(GeneralSpec generalSpec, NameEngine nameEngine)
String toIrpString(int radix)
int numberOfInfiniteRepeats()
int weight()
boolean constant(NameEngine nameEngine)
List<IrStreamItem> extractPass(IrSignal.Pass pass, IrSignal.Pass state)
void evaluate(RenderData renderData, List<BitSpec> bitSpecStack) throws NameUnassignedException
NameUnassignedExceptionvoid decode(RecognizeData recognizeData, List<BitSpec> bitSpecStack, boolean isLast) throws SignalRecognitionException
SignalRecognitionExceptionboolean nonConstantBitFieldLength()
Integer guessParameterLength(String name)
name - Name of parameter sought.IrStreamItem substituteConstantVariables(Map<String,Long> constantVariables)
constantVariables - Map<String, Long> of variables to replace.Copyright © 2019. All rights reserved.