MQTT SubscribeOptions.
More...
#include <subopts.hpp>
|
(Note that these are not member symbols.)
|
constexpr opts | operator| (retain_handling lhs, rap rhs) |
| Combine opts operator.
|
|
constexpr opts | operator| (retain_handling lhs, nl rhs) |
| Combine opts operator.
|
|
constexpr opts | operator| (retain_handling lhs, qos rhs) |
| Combine opts operator.
|
|
constexpr opts | operator| (rap lhs, retain_handling rhs) |
| Combine opts operator.
|
|
constexpr opts | operator| (rap lhs, nl rhs) |
| Combine opts operator.
|
|
constexpr opts | operator| (rap lhs, qos rhs) |
| Combine opts operator.
|
|
constexpr opts | operator| (nl lhs, retain_handling rhs) |
| Combine opts operator.
|
|
constexpr opts | operator| (nl lhs, rap rhs) |
| Combine opts operator.
|
|
constexpr opts | operator| (nl lhs, qos rhs) |
| Combine opts operator.
|
|
constexpr opts | operator| (qos lhs, retain_handling rhs) |
| Combine opts operator.
|
|
constexpr opts | operator| (qos lhs, rap rhs) |
| Combine opts operator.
|
|
constexpr opts | operator| (qos lhs, nl rhs) |
| Combine opts operator.
|
|
constexpr char const * | retain_handling_to_str (retain_handling v) |
| stringize retain_handling
|
|
std::ostream & | operator<< (std::ostream &o, retain_handling v) |
| output to the stream
|
|
constexpr char const * | rap_to_str (rap v) |
| stringize rap(retain as published)
|
|
std::ostream & | operator<< (std::ostream &o, rap v) |
| output to the stream
|
|
constexpr char const * | nl_to_str (nl v) |
| stringize nl(no local)
|
|
std::ostream & | operator<< (std::ostream &o, nl v) |
| output to the stream
|
|
MQTT SubscribeOptions.
Thread Safety
- Distinct objects: Safe
- Shared objects: Unsafe
See https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901169
Requirements
◆ opts() [1/5]
async_mqtt::sub::opts::opts |
( |
std::uint8_t | value | ) |
|
|
inlineexplicitconstexpr |
constructor
- Parameters
-
value | Byte image of the options |
◆ opts() [2/5]
◆ opts() [3/5]
async_mqtt::sub::opts::opts |
( |
rap | value | ) |
|
|
inlineconstexpr |
◆ opts() [4/5]
async_mqtt::sub::opts::opts |
( |
nl | value | ) |
|
|
inlineconstexpr |
◆ opts() [5/5]
async_mqtt::sub::opts::opts |
( |
qos | value | ) |
|
|
inlineconstexpr |
◆ get_nl()
nl async_mqtt::sub::opts::get_nl |
( |
| ) |
const |
|
inlineconstexpr |
◆ get_qos()
qos async_mqtt::sub::opts::get_qos |
( |
| ) |
const |
|
inlineconstexpr |
◆ get_rap()
rap async_mqtt::sub::opts::get_rap |
( |
| ) |
const |
|
inlineconstexpr |
◆ get_retain_handling()
Get retain_handling.
- Returns
- retain_handling
◆ operator std::uint8_t()
async_mqtt::sub::opts::operator std::uint8_t |
( |
| ) |
const |
|
inlineexplicitconstexpr |
Get byte image.
- Returns
- byte image
◆ operator<()
bool async_mqtt::sub::opts::operator< |
( |
opts | rhs | ) |
const |
|
inlineconstexpr |
less than operator
- Parameters
-
- Returns
- true if this opts less than the rhs, otherwise false.
◆ operator==()
bool async_mqtt::sub::opts::operator== |
( |
opts | rhs | ) |
const |
|
inlineconstexpr |
equal operator
- Parameters
-
- Returns
- true if this opts equal to the rhs, otherwise false.
◆ operator|() [1/5]
opts async_mqtt::sub::opts::operator| |
( |
nl | rhs | ) |
const |
|
inlineconstexpr |
Combine opts operator.
- Parameters
-
- Returns
- conbined opts
◆ operator|() [2/5]
opts async_mqtt::sub::opts::operator| |
( |
opts | rhs | ) |
const |
|
inlineconstexpr |
Combine opts operator.
- Parameters
-
- Returns
- conbined opts
◆ operator|() [3/5]
opts async_mqtt::sub::opts::operator| |
( |
qos | rhs | ) |
const |
|
inlineconstexpr |
Combine opts operator.
- Parameters
-
- Returns
- conbined opts
◆ operator|() [4/5]
opts async_mqtt::sub::opts::operator| |
( |
rap | rhs | ) |
const |
|
inlineconstexpr |
Combine opts operator.
- Parameters
-
- Returns
- conbined opts
◆ operator|() [5/5]
Combine opts operator.
- Parameters
-
- Returns
- conbined opts
◆ operator|=() [1/5]
opts & async_mqtt::sub::opts::operator|= |
( |
nl | rhs | ) |
|
|
inlineconstexpr |
Combine opts operator.
- Parameters
-
- Returns
- conbined opts
◆ operator|=() [2/5]
opts & async_mqtt::sub::opts::operator|= |
( |
opts | rhs | ) |
|
|
inlineconstexpr |
Combine opts operator.
- Parameters
-
- Returns
- conbined opts
◆ operator|=() [3/5]
opts & async_mqtt::sub::opts::operator|= |
( |
qos | rhs | ) |
|
|
inlineconstexpr |
Combine opts operator.
- Parameters
-
- Returns
- conbined opts
◆ operator|=() [4/5]
opts & async_mqtt::sub::opts::operator|= |
( |
rap | rhs | ) |
|
|
inlineconstexpr |
Combine opts operator.
- Parameters
-
- Returns
- conbined opts
◆ operator|=() [5/5]
Combine opts operator.
- Parameters
-
- Returns
- conbined opts
◆ operator|() [1/12]
Combine opts operator.
- Parameters
-
lhs | combined target |
rhs | combined target |
- Returns
- conbined opts
Requirements
◆ operator|() [2/12]
Combine opts operator.
- Parameters
-
lhs | combined target |
rhs | combined target |
- Returns
- conbined opts
Requirements
◆ operator|() [3/12]
Combine opts operator.
- Parameters
-
lhs | combined target |
rhs | combined target |
- Returns
- conbined opts
Requirements
◆ operator|() [4/12]
Combine opts operator.
- Parameters
-
lhs | combined target |
rhs | combined target |
- Returns
- conbined opts
Requirements
◆ operator|() [5/12]
Combine opts operator.
- Parameters
-
lhs | combined target |
rhs | combined target |
- Returns
- conbined opts
Requirements
◆ operator|() [6/12]
Combine opts operator.
- Parameters
-
lhs | combined target |
rhs | combined target |
- Returns
- conbined opts
Requirements
◆ operator|() [7/12]
Combine opts operator.
- Parameters
-
lhs | combined target |
rhs | combined target |
- Returns
- conbined opts
Requirements
◆ operator|() [8/12]
Combine opts operator.
- Parameters
-
lhs | combined target |
rhs | combined target |
- Returns
- conbined opts
Requirements
◆ operator|() [9/12]
Combine opts operator.
- Parameters
-
lhs | combined target |
rhs | combined target |
- Returns
- conbined opts
Requirements
◆ operator|() [10/12]
Combine opts operator.
- Parameters
-
lhs | combined target |
rhs | combined target |
- Returns
- conbined opts
Requirements
◆ operator|() [11/12]
Combine opts operator.
- Parameters
-
lhs | combined target |
rhs | combined target |
- Returns
- conbined opts
Requirements
◆ operator|() [12/12]
Combine opts operator.
- Parameters
-
lhs | combined target |
rhs | combined target |
- Returns
- conbined opts
Requirements
The documentation for this struct was generated from the following file:
- /home/kondo/work/async_mqtt/include/async_mqtt/packet/subopts.hpp