![]() |
Paho C++
1.0
The Paho MQTT C++ Client Library
|
Basic types and type conversions for the Paho MQTT C++ library. More...
#include <string>#include <vector>#include <memory>#include <chrono>Go to the source code of this file.
Functions | |
| template<class Rep , class Period > | |
| std::chrono::seconds | mqtt::to_seconds (const std::chrono::duration< Rep, Period > &dur) |
| Convert a chrono duration to seconds. More... | |
| template<class Rep , class Period > | |
| long | mqtt::to_seconds_count (const std::chrono::duration< Rep, Period > &dur) |
| Convert a chrono duration to a number of seconds. More... | |
| template<class Rep , class Period > | |
| std::chrono::milliseconds | mqtt::to_milliseconds (const std::chrono::duration< Rep, Period > &dur) |
| Convert a chrono duration to milliseconds. More... | |
| template<class Rep , class Period > | |
| long | mqtt::to_milliseconds_count (const std::chrono::duration< Rep, Period > &dur) |
| Convert a chrono duration to a number of milliseconds. More... | |
| bool | mqtt::to_bool (int n) |
| Converts an into to a bool. More... | |
| int | mqtt::to_int (bool b) |
| Converts the boolean into a C integer true/false value. More... | |
Basic types and type conversions for the Paho MQTT C++ library.