Uses of Class
org.yamcs.parameter.Value
Package
Description
-
Uses of Value in org.yamcs.algo
Modifier and TypeMethodDescriptionBitMaskBooleanDecoder.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) Modifier and TypeMethodDescriptionvoid
LeadingSizeBinaryEncoder.encodeRaw
(DataEncoding de, Value rawValue, BitBuffer bitbuf, TcProcessingContext ctx) void
ReverseBinaryEncoder.encodeRaw
(DataEncoding de, Value rawValue, BitBuffer buffer, TcProcessingContext ctx) -
Uses of Value in org.yamcs.cmdhistory
-
Uses of Value in org.yamcs.commanding
-
Uses of Value in org.yamcs.http.api
-
Uses of Value in org.yamcs.mdb
Modifier and TypeMethodDescriptionstatic Value
DataTypeProcessor.convertEngValueForType
(DataType type, Value v) Converts a Value to suit the type engineering valueArgumentTypeProcessor.decalibrate
(ArgumentType atype, Value v) 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.static Value
ParameterTypeUtils.getEngValue
(ParameterType ptype, Object value) Returns a Value corresponding to the java object and the parameter type or null if the parameter cannot be converted Note that the operation may involve some casting and loss of precision (e.g. from long to int or double to float)static Value
DataEncodingUtils.getRawFloatValue
(FloatDataEncoding fde, double value) static Value
DataEncodingUtils.getRawFloatValue
(FloatDataEncoding fde, Object value) static Value
DataEncodingUtils.getRawIntegerValue
(IntegerDataEncoding ide, long longValue) converts longValue to a raw Value suitable for data encoding.static Value
DataEncodingUtils.getRawIntegerValue
(IntegerDataEncoding ide, Object value) static Value
DataEncodingUtils.getRawIntegerValue
(IntegerDataEncoding ide, Value value) TcProcessingContext.getRawParameterValue
(Parameter param) static Value
DataEncodingDecoder.getRawValue
(DataEncoding de, Object value) ContainerProcessingContext.getValue
(ParameterInstanceRef pir) Finds a parameter instance (i.e. a value) for a parameter in the current context It only returns a parameter if the instance status was {@link AcquisitionStatus#ACQUIRED)static Value
DataTypeProcessor.getValueForType
(DataType type, Object o) converts a (boxed) java value from the XTCE type to Yamcs Valuestatic Value
ParameterTypeUtils.parseString
(DataType type, String paramValue) static Value
DataEncodingUtils.rawRawStringValue
(Value engValue) Modifier and TypeMethodDescriptionvoid
TcProcessingContext.addArgumentValue
(Argument a, Value argValue) static void
ParameterTypeUtils.checkEngValueAssignment
(Parameter p, Value engValue) Checks that a value can be assigned to a parameter as engineering value.static void
ParameterTypeUtils.checkEngValueAssignment
(ParameterType ptype, Value engValue) static boolean
ValidRangeChecker.checkFloatRange
(FloatValidRange fvr, Value v) Checks if the value is within range.static boolean
ValidRangeChecker.checkIntegerRange
(IntegerValidRange ivr, Value v) Checks if the value is within range.static Value
DataTypeProcessor.convertEngValueForType
(DataType type, Value v) Converts a Value to suit the type engineering valueArgumentTypeProcessor.decalibrate
(ArgumentType atype, Value v) void
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.static Value
DataEncodingUtils.getRawIntegerValue
(IntegerDataEncoding ide, Value value) static Value
DataEncodingUtils.rawRawStringValue
(Value engValue) ModifierConstructorDescriptionTcProcessingContext
(MetaCommand metaCmd, ProcessorData pdata, Map<Parameter, Value> paramValues, BitBuffer bitbuf, int bitPosition) -
Uses of Value in org.yamcs.parameter
Modifier and TypeClassDescriptionclass
class
Multidimensional value array.class
class
class
class
An enumerated value is a value that has both an integer and a string representation.class
class
class
class
class
Picosecond resolution timestamp stored as (millis, picos)class
class
Modifier and TypeFieldDescriptionprotected Value
RawEngValue.engValue
protected Value
RawEngValue.rawValue
Modifier and TypeMethodDescriptionArrayValue.getElementValue
(int flatIdx) Get the element value using the flat index;ArrayValue.getElementValue
(int[] idx) Get the value of the element at the given indexRawEngValue.getEngValue()
AggregateValue.getMemberValue
(int i) AggregateValue.getMemberValue
(String name) Returns the value of the member with the given nameRawEngValue.getRawValue()
ValueArray.getValue
(int idx) Modifier and TypeMethodDescriptionstatic SystemParameter
SystemParametersService.createSystemParameter
(Mdb mdb, String fqn, Value engValue) static SystemParameter
SystemParametersService.createSystemParameter
(Mdb mdb, String fqn, Value engValue, UnitType unit) static ParameterType
SystemParametersService.createSystemParameterType
(Mdb mdb, String name, Value v, UnitType unit) static ParameterValue
Deprecated.static ParameterValue
void
ArrayValue.setElementValue
(int[] idx, Value v) Sets the element at the given index.void
ArrayValue.setElementValue
(int flatIdx, Value v) Set the value of an element using the flat indexvoid
RawEngValue.setEngineeringValue
(Value ev) Deprecated.void
BasicParameterValue.setEngValue
(Value engValue) void
RawEngValue.setEngValue
(Value ev) void
AggregateValue.setMemberValue
(int idx, Value value) void
AggregateValue.setMemberValue
(String name, Value value) void
RawEngValue.setRawValue
(Value rv) void
void
LocalParameterManager.updateParameter
(Parameter p, Value engValue) Updates a parameter just with the engineering valuevoid
SoftwareParameterManager.updateParameter
(Parameter p, Value v) Update the engineering value of a parameter. -
Uses of Value in org.yamcs.parameterarchive
Modifier and TypeMethodDescriptionAggrrayBuilder.build()
ParameterValueSegment.getEngValue
(int pos) ParameterValueSegment.getRawValue
(int pos) BinaryValueSegment.getValue
(int index) BooleanValueSegment.getValue
(int index) DoubleValueSegment.getValue
(int index) FloatValueSegment.getValue
(int index) IntValueSegment.getValue
(int index) LongValueSegment.getValue
(int index) StringValueSegment.getValue
(int index) ValueSegment.getValue
(int index) returns Value at position indexModifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
Add data at the end of the segment.void
void
void
void
void
void
void
void
void
Insert data at position pos.void
AggrrayBuilder.setValue
(ParameterId pid, Value v) ModifierConstructorDescriptionTimedValue
(long instant, Value engValue, Value rawValue, Pvalue.ParameterStatus paramStatus) -
Uses of Value in org.yamcs.utils
Modifier and TypeMethodDescriptionstatic Value
ValueUtility.fromGpb
(Yamcs.Value v) static Value
ValueUtility.getBinaryValue
(byte[] x) static Value
ValueUtility.getBooleanValue
(boolean b) static Value
ValueUtility.getColumnValue
(ColumnDefinition cd, Object v) static Value
ValueUtility.getDoubleValue
(double d) static Value
ValueUtility.getFloatValue
(float f) static Value
ValueUtility.getFloatValue
(int sizeInBits, double v) static Value
ValueUtility.getIntValue
(int sizeInBits, boolean signed, long v) static Value
AggregateUtil.getMemberValue
(Value value, PathElement[] path) This function is used to retrieve values from hierarchical aggregates.static Value
ValueUtility.getSint32Value
(int x) static Value
ValueUtility.getSint64Value
(long x) static Value
ValueUtility.getStringValue
(String x) static Value
ValueUtility.getTimestampValue
(long x) static Value
ValueUtility.getUint32Value
(int x) static Value
ValueUtility.getUint64Value
(long x) Modifier and TypeMethodDescriptionint
static int
static boolean
static Value
AggregateUtil.getMemberValue
(Value value, PathElement[] path) This function is used to retrieve values from hierarchical aggregates.static Object
ValueUtility.getYarchValue
(Value v) static boolean
ValueUtility.processAsDouble
(Value v, DoubleConsumer c) if the passed on value is float, double or integer invoke the function on the double value and return truestatic boolean
ValueUtility.processAsDouble1
(Value v, DoubleConsumer c) if the passed on value is FLOAT or DOUBLE, invoke the function on the double value and return true if v is of other types return falsestatic boolean
ValueUtility.processAsLong
(Value v, LongConsumer c) if the passed on value is INT32, SINT32, INT64 or SINT64, invoke the function on the long value and return true if v is of other types return falsestatic Yamcs.Value