On this page

serviceEventInfo QML Value Type

Qt value type wrapper for service_msgs::msg::ServiceEventInfo ROS 2 messages. More...

Import Statement: import QtRos2.ServiceMsgs
Status: Experimental Extension

Properties

Detailed Description

serviceEventInfo is a structured value type usable in QML. It maps directly to the service_msgs::msg::ServiceEventInfo ROS 2 message type.

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

See also ServiceEventInfoPublisher and ServiceEventInfoSubscriber.

Property Documentation

clientGid : list<uint8_t>

Unique identifier for the client that sent the service request

Note, this is only unique for the current session. The size here has to match the size of rmw_dds_common/msg/Gid, but unfortunately we cannot use that message directly due to a circular dependency.

eventType : uint8_t

The type of event this message represents

sequenceNumber : int64_t

Sequence number for the request

Combined with the client ID, this creates a unique ID for the service transaction

stamp : time

Timestamp for when the event occurred (sent or received time)

© 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.