Engage Engine API
1.244.9084
|
Location information used as part of the PresenceDescriptor. More...
#include <ConfigurationObjects.h>
Inherits AppConfigurationObjects::ConfigurationObjectBase.
Public Member Functions | |
void | clear () |
virtual void | initForDocumenting () |
Public Member Functions inherited from AppConfigurationObjects::ConfigurationObjectBase | |
virtual std::string | toString () |
virtual bool | isDocumenting () const |
Public Attributes | |
uint32_t | ts |
[Read Only: Unix timestamp - Zulu/UTC] Indicates the timestamp that the location was recorded. | |
double | latitude |
Its the latitude position using the using the Signed degrees format (DDD.dddd). Valid range is -90 to 90. | |
double | longitude |
Its the longitudinal position using the Signed degrees format (DDD.dddd) format. Valid range is -180 to 180. | |
double | altitude |
[Optional, Default: INVALID_LOCATION_VALUE] The altitude above sea level in meters. | |
double | direction |
[Optional, Default: INVALID_LOCATION_VALUE] Direction the endpoint is traveling in degrees. Valid range is 0 to 360 (NOTE: 0 and 360 are both the same heading). | |
double | speed |
[Optional, Default: INVALID_LOCATION_VALUE] The speed the endpoint is traveling at in meters per second. | |
Public Attributes inherited from AppConfigurationObjects::ConfigurationObjectBase | |
nlohmann::json | _attached |
Static Public Attributes | |
static constexpr double | INVALID_LOCATION_VALUE = -999.999 |
Additional Inherited Members | |
Protected Attributes inherited from AppConfigurationObjects::ConfigurationObjectBase | |
bool | _documenting |
Location information used as part of the PresenceDescriptor.
Helper C++ class to serialize and de-serialize Location JSON
Location is presented by using the World Geodetic System (WGS84)
Example JSON:
Definition at line 1401 of file ConfigurationObjects.h.
|
inline |
Definition at line 1427 of file ConfigurationObjects.h.
|
inline |
Definition at line 1432 of file ConfigurationObjects.h.
|
inlinevirtual |
Reimplemented from AppConfigurationObjects::ConfigurationObjectBase.
Definition at line 1442 of file ConfigurationObjects.h.
double AppConfigurationObjects::Location::altitude |
[Optional, Default: INVALID_LOCATION_VALUE] The altitude above sea level in meters.
Definition at line 1419 of file ConfigurationObjects.h.
double AppConfigurationObjects::Location::direction |
[Optional, Default: INVALID_LOCATION_VALUE] Direction the endpoint is traveling in degrees. Valid range is 0 to 360 (NOTE: 0 and 360 are both the same heading).
Definition at line 1422 of file ConfigurationObjects.h.
|
staticconstexpr |
Definition at line 1407 of file ConfigurationObjects.h.
double AppConfigurationObjects::Location::latitude |
Its the latitude position using the using the Signed degrees format (DDD.dddd). Valid range is -90 to 90.
Definition at line 1413 of file ConfigurationObjects.h.
double AppConfigurationObjects::Location::longitude |
Its the longitudinal position using the Signed degrees format (DDD.dddd) format. Valid range is -180 to 180.
Definition at line 1416 of file ConfigurationObjects.h.
double AppConfigurationObjects::Location::speed |
[Optional, Default: INVALID_LOCATION_VALUE] The speed the endpoint is traveling at in meters per second.
Definition at line 1425 of file ConfigurationObjects.h.
uint32_t AppConfigurationObjects::Location::ts |
[Read Only: Unix timestamp - Zulu/UTC] Indicates the timestamp that the location was recorded.
Definition at line 1410 of file ConfigurationObjects.h.