|
Astarte device API for C++ 0.8.1
Astarte device SDK for C++
|
Represents the Astarte individual datastream data. More...
#include <individual.hpp>
Public Member Functions | |
| DatastreamIndividual (Data data) | |
| Constructor for the DatastreamIndividual class. | |
| auto | get_value () const -> const Data & |
| Gets the value contained within the object. | |
| auto | operator== (const DatastreamIndividual &other) const -> bool |
| Overloader for the comparison operator ==. | |
| auto | operator!= (const DatastreamIndividual &other) const -> bool |
| Overloader for the comparison operator !=. | |
Represents the Astarte individual datastream data.
This class acts as a wrapper around the Astarte Data class, specifically intended for use with interfaces using individual datastream aggregation.
|
explicit |
Constructor for the DatastreamIndividual class.
| [in] | data | The wrapped Astarte data type. |
|
nodiscard |
Gets the value contained within the object.
|
nodiscard |
Overloader for the comparison operator !=.
| [in] | other | The object to compare to. |
|
nodiscard |
Overloader for the comparison operator ==.
| [in] | other | The object to compare to. |