Uses of Class
org.yamcs.parameter.Value
-
Packages that use Value Package Description org.yamcs.algo org.yamcs.cmdhistory org.yamcs.commanding org.yamcs.http.api org.yamcs.parameter org.yamcs.parameterarchive org.yamcs.utils org.yamcs.xtceproc -
-
Uses of Value in org.yamcs.algo
Methods in org.yamcs.algo that return Value Modifier and Type Method Description ValueLeadingSizeBinaryDecoder. extractRaw(DataEncoding de, BitBuffer buffer)Methods in org.yamcs.algo with parameters of type Value Modifier and Type Method Description voidLeadingSizeBinaryEncoder. encodeRaw(DataEncoding de, Value rawValue, BitBuffer bitbuf) -
Uses of Value in org.yamcs.cmdhistory
Methods in org.yamcs.cmdhistory that return Value Modifier and Type Method Description ValueAttribute. getValue()Methods in org.yamcs.cmdhistory with parameters of type Value Modifier and Type Method Description voidCommandHistoryConsumer. updatedCommand(org.yamcs.protobuf.Commanding.CommandId cmdId, long changeDate, String key, Value value)Called when the history of a command matching the filters has been updatedConstructors in org.yamcs.cmdhistory with parameters of type Value Constructor Description Attribute(String key, Value value) -
Uses of Value in org.yamcs.commanding
Methods in org.yamcs.commanding that return types with arguments of type Value Modifier and Type Method Description Map<Argument,Value>PreparedCommand. getArgAssignment()Methods in org.yamcs.commanding with parameters of type Value Modifier and Type Method Description voidCommandVerificationHandler. updatedCommand(org.yamcs.protobuf.Commanding.CommandId cmdId, long changeDate, String key, Value value)Method parameters in org.yamcs.commanding with type arguments of type Value Modifier and Type Method Description voidPreparedCommand. setArgAssignment(Map<Argument,Value> argAssignment, Set<String> userAssignedArgumentNames) -
Uses of Value in org.yamcs.http.api
Methods in org.yamcs.http.api that return Value Modifier and Type Method Description ValueParameterRanger.MultiRange. getValue(int idx)abstract ValueParameterRanger.Range. getValue(int idx)ValueParameterRanger.SingleRange. getValue(int idx)Methods in org.yamcs.http.api with parameters of type Value Modifier and Type Method Description voidParameterRanger.MultiRange. add(Value v, boolean distinct)abstract voidParameterRanger.Range. add(Value v, boolean distinct)voidParameterRanger.SingleRange. add(Value v, boolean distinct) -
Uses of Value in org.yamcs.parameter
Subclasses of Value in org.yamcs.parameter Modifier and Type Class Description classAggregateValueclassArrayValueMultidimensional value array.classBinaryValueclassBooleanValueclassDoubleValueclassEnumeratedValueAn enumerated value is a value that has both an integer and a string representation.classFloatValueclassSInt32ValueclassSInt64ValueclassStringValueclassTimestampValueclassUInt32ValueclassUInt64ValueFields in org.yamcs.parameter declared as Value Modifier and Type Field Description protected ValueBasicParameterValue. engValueprotected ValueBasicParameterValue. rawValueMethods in org.yamcs.parameter that return Value Modifier and Type Method Description ValueArrayValue. getElementValue(int flatIdx)Get the element value using the flat index;ValueArrayValue. getElementValue(int[] idx)Get the value of the element at the given indexValueBasicParameterValue. getEngValue()ValueAggregateValue. getMemberValue(int i)ValueAggregateValue. getMemberValue(String name)Returns the value of the member with the given nameValueBasicParameterValue. getRawValue()ValueValueArray. getValue(int idx)Methods in org.yamcs.parameter with parameters of type Value Modifier and Type Method Description static ParameterValueSystemParametersCollector. getPV(String fqn, long time, Value v)voidArrayValue. 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 indexvoidBasicParameterValue. setEngineeringValue(Value ev)voidBasicParameterValue. setEngValue(Value engValue)voidAggregateValue. setMemberValue(int idx, Value value)voidAggregateValue. setMemberValue(String name, Value value)voidBasicParameterValue. setRawValue(Value rv)voidValueArray. setValue(int idx, Value v)voidLocalParameterManager. 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 Value Modifier and Type Method Description ValueBinaryValueSegment. getValue(int index)ValueBooleanValueSegment. getValue(int index)ValueDoubleValueSegment. getValue(int index)ValueFloatValueSegment. getValue(int index)ValueIntValueSegment. getValue(int index)ValueLongValueSegment. getValue(int index)ValueStringValueSegment. getValue(int index)ValueValueSegment. getValue(int index)returns Value at position indexMethods in org.yamcs.parameterarchive with parameters of type Value Modifier and Type Method Description voidSegmentIterator.SimpleValueConsumer. accept(long t, Value v)voidBinaryValueSegment. add(int pos, Value v)voidBooleanValueSegment. add(int pos, Value engValue)voidDoubleValueSegment. add(int pos, Value engValue)voidFloatValueSegment. add(int pos, Value engValue)voidIntValueSegment. add(int pos, Value v)voidLongValueSegment. add(int pos, Value v)voidStringValueSegment. add(int pos, Value v)voidValueSegment. add(int pos, Value engValue)voidStringValueSegment. addValue(Value v)Method parameters in org.yamcs.parameterarchive with type arguments of type Value Modifier and Type Method Description static 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 Value Constructor Description TimedValue(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 Value Modifier and Type Method Description static 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 Value Modifier and Type Method Description intValueComparator. compare(Value a, Value b)static intValueUtility. compare(Value a, Value b)static booleanValueUtility. equals(Value a, Value b)static 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 true if v is of other types return falsestatic 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.ValueValueUtility. toGbp(Value v) -
Uses of Value in org.yamcs.xtceproc
Methods in org.yamcs.xtceproc that return Value Modifier and Type Method Description static ValueDataTypeProcessor. convertEngValueForType(DataType type, Value v)Converts a Value to suit the type engineering valueValueArgumentTypeProcessor. decalibrate(ArgumentType atype, Value v)ValueDataDecoder. extractRaw(DataEncoding de, BitBuffer buffer)Extracts the raw value from the buffer.ValueDataEncodingDecoder. extractRaw(DataEncoding de)Extracts the raw uncalibrated parameter value from the buffer.ValueTcProcessingContext. getArgumentValue(Argument arg)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)ValueTcProcessingContext. getParameterValue(Parameter param)static ValueDataEncodingDecoder. getRawValue(DataEncoding de, Object value)ValueContainerProcessingContext. 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)Methods in org.yamcs.xtceproc that return types with arguments of type Value Modifier and Type Method Description Map<Argument,Value>MetaCommandProcessor.CommandBuildResult. getArgs()Methods in org.yamcs.xtceproc with parameters of type Value Modifier and Type Method Description 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 valueValueArgumentTypeProcessor. 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.Constructor parameters in org.yamcs.xtceproc with type arguments of type Value Constructor Description CommandBuildResult(byte[] b, Map<Argument,Value> args)TcProcessingContext(ProcessorData pdata, Map<Argument,Value> argValues, Map<Parameter,Value> paramValues, BitBuffer bitbuf, int bitPosition)
-