On this page

parameterValue QML Value Type

Used to determine which of the next *_value fields are set. More...

Import Statement: import QtRos2.RclInterfaces
Status: Experimental Extension

Properties

Detailed Description

ParameterType.PARAMETER_NOT_SET indicates that the parameter was not set (if gotten) or is uninitialized. Values are enumerated in `ParameterType.msg`.

parameterValue is a structured value type usable in QML. It maps directly to the rcl_interfaces::msg::ParameterValue ROS 2 message type.

Construct a parameterValue in QML by assigning a JavaScript object whose keys are its component properties, or by setting those properties individually.

See also ParameterValuePublisher and ParameterValueSubscriber.

Property Documentation

boolArrayValue : list<bool>

An array of boolean values.

boolValue : bool

Boolean value, can be either true or false.

byteArrayValue : ArrayBuffer

An array of bytes, used for non-textual information.

doubleArrayValue : list<double>

An array of 64-bit floating point values.

doubleValue : double

A double precision floating point value following IEEE 754.

integerArrayValue : list<int64_t>

An array of 64-bit integer values.

integerValue : int64_t

Integer value ranging from -9,223,372,036,854,775,808 to

9,223,372,036,854,775,807.

stringArrayValue : list<string>

An array of string values.

stringValue : string

A textual value with no practical length limit.

type : uint8_t

The type of this parameter, which corresponds to the appropriate field below.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.