MQTT PublishOptions.
More...
#include <pubopts.hpp>
MQTT PublishOptions.
Thread Safety
- Distinct objects: Safe
- Shared objects: Unsafe
See https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901101
Requirements
◆ opts() [1/4]
async_mqtt::pub::opts::opts |
( |
std::uint8_t | value | ) |
|
|
inlineexplicitconstexpr |
constructor
- Parameters
-
value | Byte image of the options |
◆ opts() [2/4]
async_mqtt::pub::opts::opts |
( |
retain | value | ) |
|
|
inlineconstexpr |
◆ opts() [3/4]
async_mqtt::pub::opts::opts |
( |
dup | value | ) |
|
|
inlineconstexpr |
◆ opts() [4/4]
async_mqtt::pub::opts::opts |
( |
qos | value | ) |
|
|
inlineconstexpr |
◆ get_dup()
dup async_mqtt::pub::opts::get_dup |
( |
| ) |
const |
|
inlineconstexpr |
◆ get_qos()
qos async_mqtt::pub::opts::get_qos |
( |
| ) |
const |
|
inlineconstexpr |
◆ get_retain()
retain async_mqtt::pub::opts::get_retain |
( |
| ) |
const |
|
inlineconstexpr |
Get retain.
- Returns
- retain
◆ operator std::uint8_t()
async_mqtt::pub::opts::operator std::uint8_t |
( |
| ) |
const |
|
inlineexplicitconstexpr |
Get byte image.
- Returns
- byte image
◆ operator<()
bool async_mqtt::pub::opts::operator< |
( |
opts | rhs | ) |
const |
|
inlineconstexpr |
less than operator
- Parameters
-
- Returns
- true if this less than the rhs, otherwise false.
◆ operator==()
bool async_mqtt::pub::opts::operator== |
( |
opts | rhs | ) |
const |
|
inlineconstexpr |
equal operator
- Parameters
-
- Returns
- true if this equal to the rhs, otherwise false.
◆ operator|() [1/4]
opts async_mqtt::pub::opts::operator| |
( |
dup | rhs | ) |
const |
|
inlineconstexpr |
Combine opts operator.
- Parameters
-
- Returns
- conbined opts
◆ operator|() [2/4]
opts async_mqtt::pub::opts::operator| |
( |
opts | rhs | ) |
const |
|
inlineconstexpr |
Combine opts operator.
- Parameters
-
- Returns
- conbined opts
◆ operator|() [3/4]
opts async_mqtt::pub::opts::operator| |
( |
qos | rhs | ) |
const |
|
inlineconstexpr |
Combine opts operator.
- Parameters
-
- Returns
- conbined opts
◆ operator|() [4/4]
opts async_mqtt::pub::opts::operator| |
( |
retain | rhs | ) |
const |
|
inlineconstexpr |
Combine opts operator.
- Parameters
-
- Returns
- conbined opts
◆ operator|=() [1/4]
opts & async_mqtt::pub::opts::operator|= |
( |
dup | rhs | ) |
|
|
inlineconstexpr |
Combine opts operator.
- Parameters
-
- Returns
- conbined opts
◆ operator|=() [2/4]
opts & async_mqtt::pub::opts::operator|= |
( |
opts | rhs | ) |
|
|
inlineconstexpr |
Combine opts operator.
- Parameters
-
- Returns
- conbined opts
◆ operator|=() [3/4]
opts & async_mqtt::pub::opts::operator|= |
( |
qos | rhs | ) |
|
|
inlineconstexpr |
Combine opts operator.
- Parameters
-
- Returns
- conbined opts
◆ operator|=() [4/4]
opts & async_mqtt::pub::opts::operator|= |
( |
retain | rhs | ) |
|
|
inlineconstexpr |
Combine opts operator.
- Parameters
-
- Returns
- conbined opts
◆ operator|() [1/6]
Combine opts operator.
- Parameters
-
lhs | combined target |
rhs | combined target |
- Returns
- conbined opts
Requirements
◆ operator|() [2/6]
Combine opts operator.
- Parameters
-
lhs | combined target |
rhs | combined target |
- Returns
- conbined opts
Requirements
◆ operator|() [3/6]
Combine opts operator.
- Parameters
-
lhs | combined target |
rhs | combined target |
- Returns
- conbined opts
Requirements
◆ operator|() [4/6]
Combine opts operator.
- Parameters
-
lhs | combined target |
rhs | combined target |
- Returns
- conbined opts
Requirements
◆ operator|() [5/6]
Combine opts operator.
- Parameters
-
lhs | combined target |
rhs | combined target |
- Returns
- conbined opts
Requirements
◆ operator|() [6/6]
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/pubopts.hpp