Uses of Class
org.yamcs.xtce.DataEncoding
-
Uses of DataEncoding in org.yamcs.algo
Modifier and TypeMethodDescriptionvoid
LeadingSizeBinaryEncoder.encodeRaw
(DataEncoding de, Value rawValue, BitBuffer bitbuf, TcProcessingContext ctx) void
ReverseBinaryEncoder.encodeRaw
(DataEncoding de, Value rawValue, BitBuffer buffer, TcProcessingContext ctx) BitMaskBooleanDecoder.extractRaw
(DataEncoding de, BitBuffer buffer) HexStringDecoder.extractRaw
(DataEncoding de, BitBuffer buffer) LeadingSizeBinaryDecoder.extractRaw
(DataEncoding de, BitBuffer buffer) RemainingBinaryDecoder.extractRaw
(DataEncoding de, BitBuffer buffer) ReverseBinaryDecoder.extractRaw
(DataEncoding de, BitBuffer buffer) -
Uses of DataEncoding in org.yamcs.http.api
Modifier and TypeMethodDescriptionstatic Mdb.DataEncodingInfo
XtceToGpbAssembler.toDataEncodingInfo
(DataEncoding xtceDataEncoding) -
Uses of DataEncoding in org.yamcs.mdb
Modifier and TypeMethodDescriptionvoid
DataEncoder.encodeRaw
(DataEncoding de, Value rawValue, BitBuffer buffer, TcProcessingContext ctx) Encode the raw value into the buffer.void
DataEncodingEncoder.encodeRaw
(DataEncoding de, Value rawValue) Encode the raw value of the argument into the packet.DataDecoder.extractRaw
(DataEncoding de, BitBuffer buffer) Extracts the raw value from the buffer.DataEncodingDecoder.extractRaw
(DataEncoding de) Extracts the raw uncalibrated parameter value from the buffer.DataEncodingDecoder.extractRaw
(DataEncoding de, ContainerProcessingContext pcontext) Extract the raw, uncalibrated parameter value from the buffer, using the provider context to find referenced parameter values for variable- sized objects.ProcessorData.getCalibrator
(ProcessingData pdata, DataEncoding de) returns a calibrator processor for the given data encoding.ProcessorData.getDataDecoder
(DataEncoding de) ProcessorData.getDataEncoder
(DataEncoding de) ProcessorData.getDecalibrator
(DataEncoding de) static Yamcs.Value.Type
DataEncodingDecoder.getRawType
(DataEncoding encoding) return the nominal Value.Type of a raw value corresponding to the given XTCE data encoding definitionstatic Value
DataEncodingDecoder.getRawValue
(DataEncoding de, Object value) -
Uses of DataEncoding in org.yamcs.xtce
Modifier and TypeClassDescriptionclass
Although XTCE suggests that this class could be used to encode/decode integer/float/string data, In Yamcs this is used just for encoding binary data (i.e. binary to binary).class
For boolean data.class
For common encodings of floating point data.class
For all major encodings of integer dataclass
For common encodings of string data.Modifier and TypeMethodDescriptionprotected abstract DataEncoding
DataEncoding.Builder.build()
abstract DataEncoding
DataEncoding.copy()
Create a shallow copy of the data encodingAggregateParameterType.getEncoding()
ArrayParameterType.getEncoding()
BaseDataType.getEncoding()
NumericParameterType.getEncoding()
ParameterType.getEncoding()
Get the data encoding for the parameter type.