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 TypeMethodDescriptionBitMaskBooleanDecoder.extractRaw(org.yamcs.xtce.DataEncoding de, ContainerProcessingContext pcontext, BitBuffer buffer) HexStringDecoder.extractRaw(org.yamcs.xtce.DataEncoding de, ContainerProcessingContext pcontext, BitBuffer buffer) LeadingSizeBinaryDecoder.extractRaw(org.yamcs.xtce.DataEncoding de, ContainerProcessingContext pcontext, BitBuffer buffer) RemainingBinaryDecoder.extractRaw(org.yamcs.xtce.DataEncoding de, ContainerProcessingContext pcontext, BitBuffer buffer) ReverseBinaryDecoder.extractRaw(org.yamcs.xtce.DataEncoding de, ContainerProcessingContext pcontext, BitBuffer buffer) TimeBinaryDecoder.extractRaw(org.yamcs.xtce.DataEncoding de, ContainerProcessingContext pcontext, BitBuffer buf) Methods in org.yamcs.algo with parameters of type ValueModifier and TypeMethodDescriptionvoidLeadingSizeBinaryEncoder.encodeRaw(org.yamcs.xtce.DataEncoding de, Value rawValue, BitBuffer bitbuf, TcProcessingContext ctx) voidReverseBinaryEncoder.encodeRaw(org.yamcs.xtce.DataEncoding de, Value rawValue, BitBuffer buffer, TcProcessingContext ctx) voidTimeBinaryEncoder.encodeRaw(org.yamcs.xtce.DataEncoding de, Value rawValue, BitBuffer buffer, TcProcessingContext ctx) -
Uses of Value in org.yamcs.algorithms
Methods in org.yamcs.algorithms that return ValueModifier and TypeMethodDescriptionstatic ValueScriptAlgorithmExecutor.getEngValue(org.yamcs.xtce.ParameterType ptype, Object value) -
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(org.yamcs.xtce.DataType type, Value v) Converts a Value to suit the type engineering valueArgumentTypeProcessor.decalibrate(org.yamcs.xtce.ArgumentType atype, Value v) DataDecoder.extractRaw(org.yamcs.xtce.DataEncoding de, ContainerProcessingContext pcontext, BitBuffer buffer) Extracts the raw value from the buffer.DataEncodingDecoder.extractRaw(org.yamcs.xtce.DataEncoding de) Extracts the raw uncalibrated parameter value from the buffer.DataEncodingDecoder.extractRaw(org.yamcs.xtce.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.getEngFloatValue(org.yamcs.xtce.FloatParameterType ptype, Object value) static ValueParameterTypeUtils.getEngIntegerValue(org.yamcs.xtce.IntegerParameterType ptype, Object value) static ValueParameterTypeUtils.getEngValue(org.yamcs.xtce.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(org.yamcs.xtce.FloatDataEncoding fde, double value) static ValueDataEncodingUtils.getRawFloatValue(org.yamcs.xtce.FloatDataEncoding fde, Object value) static ValueDataEncodingUtils.getRawIntegerValue(org.yamcs.xtce.IntegerDataEncoding ide, long longValue) converts longValue to a raw Value suitable for data encoding.static ValueDataEncodingUtils.getRawIntegerValue(org.yamcs.xtce.IntegerDataEncoding ide, Object value) static ValueDataEncodingUtils.getRawIntegerValue(org.yamcs.xtce.IntegerDataEncoding ide, Value value) TcProcessingContext.getRawParameterValue(org.yamcs.xtce.Parameter param) static ValueDataEncodingDecoder.getRawValue(org.yamcs.xtce.DataEncoding de, Object value) ContainerProcessingContext.getValue(org.yamcs.xtce.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(org.yamcs.xtce.DataType type, Object o) converts a (boxed) java value from the XTCE type to Yamcs Valuestatic ValueParameterTypeUtils.parseString(org.yamcs.xtce.DataType type, String paramValue) static ValueDataEncodingUtils.rawRawStringValue(Value engValue) Methods in org.yamcs.mdb with parameters of type ValueModifier and TypeMethodDescriptionvoidTcProcessingContext.addArgumentValue(org.yamcs.xtce.Argument a, Value argValue) static voidParameterTypeUtils.checkEngValueAssignment(org.yamcs.xtce.Parameter p, Value engValue) Checks that a value can be assigned to a parameter as engineering value.static voidParameterTypeUtils.checkEngValueAssignment(org.yamcs.xtce.ParameterType ptype, Value engValue) static booleanValidRangeChecker.checkFloatRange(org.yamcs.xtce.FloatValidRange fvr, Value v) Checks if the value is within range.static booleanValidRangeChecker.checkIntegerRange(org.yamcs.xtce.IntegerValidRange ivr, Value v) Checks if the value is within range.static ValueDataTypeProcessor.convertEngValueForType(org.yamcs.xtce.DataType type, Value v) Converts a Value to suit the type engineering valueArgumentTypeProcessor.decalibrate(org.yamcs.xtce.ArgumentType atype, Value v) voidDataEncoder.encodeRaw(org.yamcs.xtce.DataEncoding de, Value rawValue, BitBuffer buffer, TcProcessingContext ctx) Encode the raw value into the buffer.voidEncode the raw value of the argument into the packet.static ValueDataEncodingUtils.getRawIntegerValue(org.yamcs.xtce.IntegerDataEncoding ide, Value value) static ValueDataEncodingUtils.rawRawStringValue(Value engValue) Constructor parameters in org.yamcs.mdb with type arguments of type ValueModifierConstructorDescriptionTcProcessingContext(org.yamcs.xtce.MetaCommand metaCmd, ProcessorData pdata, Map<org.yamcs.xtce.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.classclassclassclassclassPicosecond resolution timestamp stored as (millis, picos)classclassFields 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 org.yamcs.xtce.SystemParameterSystemParametersService.createSystemParameter(Mdb mdb, String fqn, Value engValue) static org.yamcs.xtce.SystemParameterSystemParametersService.createSystemParameter(Mdb mdb, String fqn, Value engValue, org.yamcs.xtce.UnitType unit) static org.yamcs.xtce.ParameterTypeSystemParametersService.createSystemParameterType(Mdb mdb, String name, Value v, org.yamcs.xtce.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) voiddefault voidSoftwareParameterManager.updateParameter(org.yamcs.xtce.Parameter p, Value engValue) Called (usually via the external Yamcs API) to pdate the engineering value of a parameter. -
Uses of Value in org.yamcs.parameterarchive
Methods in org.yamcs.parameterarchive that return ValueModifier 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 indexMethods in org.yamcs.parameterarchive with parameters of type ValueModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidAdd data at the end of the segment.voidvoidvoidvoidvoidvoidvoidvoidvoidInsert data at position pos.voidAggrrayBuilder.setValue(ParameterId pid, Value v) 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, org.yamcs.xtce.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, org.yamcs.xtce.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