Uses of Class
org.yamcs.parameter.Value
Packages that use Value
Package
Description
-
Uses of Value in org.yamcs.algo
Methods in org.yamcs.algo that return ValueModifier and TypeMethodDescriptionLeadingSizeBinaryDecoder.extractRaw(DataEncoding de, BitBuffer buffer) Methods in org.yamcs.algo with parameters of type ValueModifier and TypeMethodDescriptionvoidLeadingSizeBinaryEncoder.encodeRaw(DataEncoding de, Value rawValue, BitBuffer bitbuf) -
Uses of Value in org.yamcs.cmdhistory
Methods in org.yamcs.cmdhistory that return ValueConstructors in org.yamcs.cmdhistory with parameters of type Value -
Uses of Value in org.yamcs.commanding
Constructors in org.yamcs.commanding with parameters of type Value -
Uses of Value in org.yamcs.http.api
Methods in org.yamcs.http.api that return ValueModifier and TypeMethodDescriptionParameterRanger.MultiRange.getValue(int idx) abstract ValueParameterRanger.Range.getValue(int idx) ParameterRanger.SingleRange.getValue(int idx) Methods in org.yamcs.http.api with parameters of type Value -
Uses of Value in org.yamcs.mdb
Methods in org.yamcs.mdb that return ValueModifier and TypeMethodDescriptionstatic ValueDataTypeProcessor.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 ValueParameterTypeUtils.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 ValueDataEncodingUtils.getRawFloatValue(FloatDataEncoding fde, double value) static ValueDataEncodingUtils.getRawFloatValue(FloatDataEncoding fde, Object value) static ValueDataEncodingUtils.getRawIntegerValue(IntegerDataEncoding ide, long longValue) converts longValue to a raw Value suitable for data encoding.static ValueDataEncodingUtils.getRawIntegerValue(IntegerDataEncoding ide, Object value) static ValueDataEncodingUtils.getRawIntegerValue(IntegerDataEncoding ide, Value value) TcProcessingContext.getRawParameterValue(Parameter param) static ValueDataEncodingDecoder.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 ValueDataTypeProcessor.getValueForType(DataType type, Object o) converts a (boxed) java value from the XTCE type to Yamcs Valuestatic ValueParameterTypeUtils.parseString(DataType type, String paramValue) static ValueDataEncodingUtils.rawRawStringValue(Value engValue) Methods in org.yamcs.mdb with parameters of type ValueModifier and TypeMethodDescriptionvoidTcProcessingContext.addArgumentValue(Argument a, Value argValue) static voidParameterTypeUtils.checkEngValueAssignment(Parameter p, Value engValue) Checks that a value can be assigned to a parameter as engineering value Throws an IllegalArgumentException if notstatic voidParameterTypeUtils.checkEngValueAssignment(ParameterType ptype, Value engValue) static booleanValidRangeChecker.checkFloatRange(FloatValidRange fvr, Value v) Checks if the value is within range.static booleanValidRangeChecker.checkIntegerRange(IntegerValidRange ivr, Value v) Checks if the value is within range.static ValueDataTypeProcessor.convertEngValueForType(DataType type, Value v) Converts a Value to suit the type engineering valueArgumentTypeProcessor.decalibrate(ArgumentType atype, Value v) voidDataEncoder.encodeRaw(DataEncoding de, Value rawValue, BitBuffer buffer) Encode the raw value into the buffer.voidDataEncodingEncoder.encodeRaw(DataEncoding de, Value rawValue) Encode the raw value of the argument into the packet.static ValueDataEncodingUtils.getRawIntegerValue(IntegerDataEncoding ide, Value value) static ValueDataEncodingUtils.rawRawStringValue(Value engValue) Constructor parameters in org.yamcs.mdb with type arguments of type ValueModifierConstructorDescriptionTcProcessingContext(MetaCommand metaCmd, ProcessorData pdata, Map<Parameter, Value> paramValues, BitBuffer bitbuf, int bitPosition) -
Uses of Value in org.yamcs.parameter
Subclasses of Value in org.yamcs.parameterModifier and TypeClassDescriptionclassclassMultidimensional value array.classclassclassclassAn enumerated value is a value that has both an integer and a string representation.classclassclassclassclassclassclassFields in org.yamcs.parameter declared as ValueModifier and TypeFieldDescriptionprotected ValueRawEngValue.engValueprotected ValueRawEngValue.rawValueMethods in org.yamcs.parameter that return ValueModifier 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) Methods in org.yamcs.parameter with parameters of type ValueModifier and TypeMethodDescriptionstatic SystemParameterSystemParametersService.createSystemParameter(XtceDb mdb, String fqn, Value engValue) static SystemParameterSystemParametersService.createSystemParameter(XtceDb mdb, String fqn, Value engValue, UnitType unit) static ParameterTypeSystemParametersService.createSystemParameterType(XtceDb mdb, String name, Value v, UnitType unit) static ParameterValueDeprecated.static ParameterValuevoidArrayValue.setElementValue(int[] idx, Value v) Sets the element at the given index.voidArrayValue.setElementValue(int flatIdx, Value v) Set the value of an element using the flat indexvoidRawEngValue.setEngineeringValue(Value ev) Deprecated.voidBasicParameterValue.setEngValue(Value engValue) voidRawEngValue.setEngValue(Value ev) voidAggregateValue.setMemberValue(int idx, Value value) voidAggregateValue.setMemberValue(String name, Value value) voidRawEngValue.setRawValue(Value rv) voidvoidLocalParameterManager.updateParameter(Parameter p, Value engValue) Updates a parameter just with the engineering valuevoidSoftwareParameterManager.updateParameter(Parameter p, Value v) Update the engineering value of a parameter. -
Uses of Value in org.yamcs.parameterarchive
Methods in org.yamcs.parameterarchive that return ValueModifier and TypeMethodDescriptionAggrrayBuilder.build()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 indexMethods in org.yamcs.parameterarchive with parameters of type ValueModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidAggrrayBuilder.setValue(ParameterId pid, Value v) Method parameters in org.yamcs.parameterarchive with type arguments of type ValueModifier and TypeMethodDescriptionstatic BinaryValueSegmentBinaryValueSegment.consolidate(List<Value> values) static IntValueSegmentIntValueSegment.consolidate(List<Value> values, boolean signed) static LongValueSegmentLongValueSegment.consolidate(List<Value> values, org.yamcs.protobuf.Yamcs.Value.Type type) static BaseSegmentStringValueSegment.consolidate(List<Value> values) Constructors in org.yamcs.parameterarchive with parameters of type ValueModifierConstructorDescriptionTimedValue(long instant, Value engValue, Value rawValue, org.yamcs.protobuf.Pvalue.ParameterStatus paramStatus) -
Uses of Value in org.yamcs.utils
Methods in org.yamcs.utils that return ValueModifier and TypeMethodDescriptionstatic ValueValueUtility.fromGpb(org.yamcs.protobuf.Yamcs.Value v) static ValueValueUtility.getBinaryValue(byte[] x) static ValueValueUtility.getBooleanValue(boolean b) static ValueValueUtility.getColumnValue(ColumnDefinition cd, Object v) static ValueValueUtility.getDoubleValue(double d) static ValueValueUtility.getFloatValue(float f) static ValueValueUtility.getFloatValue(int sizeInBits, double v) static ValueValueUtility.getIntValue(int sizeInBits, boolean signed, long v) static ValueAggregateUtil.getMemberValue(Value value, PathElement[] path) This function is used to retrieve values from hierarchical aggregates.static ValueValueUtility.getSint32Value(int x) static ValueValueUtility.getSint64Value(long x) static ValueValueUtility.getStringValue(String x) static ValueValueUtility.getTimestampValue(long x) static ValueValueUtility.getUint32Value(int x) static ValueValueUtility.getUint64Value(long x) Methods in org.yamcs.utils with parameters of type ValueModifier and TypeMethodDescriptionintstatic intstatic booleanstatic ValueAggregateUtil.getMemberValue(Value value, PathElement[] path) This function is used to retrieve values from hierarchical aggregates.static ObjectValueUtility.getYarchValue(Value v) static booleanValueUtility.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 booleanValueUtility.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 booleanValueUtility.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 org.yamcs.protobuf.Yamcs.Value