File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -143,17 +143,18 @@ typedef ::z_congestion_control_t CongestionControl;
143
143
// / - **Z_PRIORITY_BACKGROUND**: Priority for "background traffic" messages.
144
144
typedef ::z_priority_t Priority;
145
145
146
- /* *
147
- * QoS settings of zenoh message.
148
- */
146
+ // / QoS settings of zenoh message.
147
+ // /
149
148
struct QoS : public Copyable <::z_qos_t > {
150
149
using Copyable::Copyable;
151
- // / Returns message priority.
150
+ // / @brief Returns message priority.
152
151
Priority get_priority () const { return ::z_qos_get_priority (*this ); }
153
- // / Returns message congestion control.
152
+ // / @brief Returns message congestion control.
154
153
CongestionControl get_congestion_control () const { return ::z_qos_get_congestion_control (*this ); }
155
- // / Returns message express flag. If set to true, the message is not batched to reduce the latency.
154
+ // / @brief Returns message express flag. If set to true, the message is not batched to reduce the latency.
156
155
bool get_express () const { return ::z_qos_get_express (*this ); }
156
+ // / @brief Crates default QoS settings.
157
+ QoS () : Copyable(z_qos_default()) {};
157
158
};
158
159
159
160
// / Query target values.
You can’t perform that action at this time.
0 commit comments