|
lomiri-location-service ..
An aggregating location service providing positioning and geocoding capabilities to applications.
|
Templated class that wraps a value and timestamp. More...
#include <update.h>
Public Member Functions | |
| Update (const T &value=T{}, const Clock::Timestamp &when=Clock::now()) | |
| Constructs a valid update with the given value and timestamp. | |
| bool | operator== (const Update< T > &rhs) const |
| operator == checks if two updates are equal. | |
| bool | operator!= (const Update< T > &rhs) const |
| operator != checks if two updates are unequal. | |
Public Attributes | |
| T | value |
| Clock::Timestamp | when = Clock::beginning_of_time() |
Templated class that wraps a value and timestamp.
| T | The contained value. |
|
inline |
Constructs a valid update with the given value and timestamp.
| [in] | value | The value delivered with this update. |
| [in] | when | The timestamp when the value was measured. |
Definition at line 43 of file update.h.
References value.
Referenced by operator!=(), and operator==().
|
inline |
|
inline |
| T com::lomiri::location::Update< T >::value |
The value delivered with this update.
Definition at line 70 of file update.h.
Referenced by core::dbus::Codec< com::lomiri::location::Update< T > >::decode_argument(), core::dbus::Codec< com::lomiri::location::Update< T > >::encode_argument(), operator!=(), com::lomiri::location::operator<<(), operator==(), and Update().
| Clock::Timestamp com::lomiri::location::Update< T >::when = Clock::beginning_of_time() |
Time when the updated value was measured.
Definition at line 73 of file update.h.
Referenced by core::dbus::Codec< com::lomiri::location::Update< T > >::decode_argument(), core::dbus::Codec< com::lomiri::location::Update< T > >::encode_argument(), operator!=(), com::lomiri::location::operator<<(), and operator==().