FormIt C++ API  v23.0.0 (2023.0.0)
FormIt::kSetLocationType Struct Reference


Message to notify when location has been updated.

Payload: latitude, longitude and name of location

#include <FormItCoreMessages.h>

Inheritance diagram for FormIt::kSetLocationType:
FormIt::MessageWithPayloadStruct FormIt::MessageStruct

Public Types

using Payload = 1::pair< double, double >
- Public Types inherited from FormIt::MessageStruct
using Payload = void

Public Member Functions

const Payloadextract (FormIt::MessagePayloadStruct const &payload) const
::string message () const override
 message() function. More...
- Public Member Functions inherited from FormIt::MessageStruct
bool operator== (MessageStruct const &right) const
 So we can see if a particular message received is the same as one of the predefined ones using simple comparisons. More...
bool operator!= (MessageStruct const &right) const

Additional Inherited Members

- Protected Member Functions inherited from FormIt::MessageWithPayloadStruct
template<typename T >
const T & cast (MessagePayloadStruct const &payload) const

Member Typedef Documentation

using FormIt::kSetLocationType::Payload = 1 ::pair<double, double>

Member Function Documentation

const Payload& FormIt::kSetLocationType::extract ( FormIt::MessagePayloadStruct const &  payload) const
::string FormIt::kSetLocationType::message ( ) const

message() function.

Implements FormIt::MessageStruct.

The documentation for this struct was generated from the following file: