Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbedConnectorInterfaceWithDM by
Location Class Reference
#include <Location.h>
Public Member Functions | |
Location () | |
Default constructor. | |
Location (const Location &location) | |
Copy constructor. | |
virtual | ~Location () |
Destructor. | |
virtual void | updateLocation ()=0 |
Update the current location (pure virtual) | |
virtual char * | getLatitude () |
Get latest Latitude. | |
virtual char * | getLongitude () |
Get latest Longitude. | |
char * | getMSLAltitude () |
Get latest MSL Altitude (m) | |
char * | getSpeed () |
Get latest Speed (km/h) (pure virtual) |
Detailed Description
Location class.
Definition at line 51 of file Location.h.
Constructor & Destructor Documentation
Location | ( | ) |
Default constructor.
Definition at line 29 of file Location.cpp.
Copy constructor.
- Parameters:
-
logger input Location instance to deep copy
Definition at line 37 of file Location.cpp.
~Location | ( | ) | [virtual] |
Destructor.
Definition at line 45 of file Location.cpp.
Member Function Documentation
char * getLatitude | ( | ) | [virtual] |
Get latest Latitude.
Definition at line 49 of file Location.cpp.
char * getLongitude | ( | ) | [virtual] |
Get latest Longitude.
Definition at line 54 of file Location.cpp.
char * getMSLAltitude | ( | ) |
Get latest MSL Altitude (m)
Definition at line 59 of file Location.cpp.
char * getSpeed | ( | ) |
Get latest Speed (km/h) (pure virtual)
Definition at line 64 of file Location.cpp.
virtual void updateLocation | ( | ) | [pure virtual] |
Update the current location (pure virtual)
Generated on Wed Jul 13 2022 01:24:03 by
