Gnss Class Reference
Main application.
#include <gnssApi.h>
Public Member Functions | |
Gnss (std::string ip="127.0.0.1") | |
bool | isAlive () |
void | monitorServiceAvailability_S (dpyGnss::service_availability_handler handler) |
void | monitorServiceAvailability_U () |
void | getPeriodicPosition_S (dpyGnss::get_periodic_position_handler_function handler) |
void | getPeriodicPosition_U () |
void | asyncSetPowerStatus (dpyGnss::GnssPowerStatus power_stat, dpyGnss::result_handler_function handler) |
void | asyncGetPowerStatus (dpyGnss::power_status_handler_function handler) |
void | asyncGetLastPosition (dpyGnss::get_position_handler_function handler) |
void | asyncGetStoredTimeDate (dpyGnss::get_time_date_handler_function handler) |
void | asyncGetModuleInfo (dpyGnss::GnssInfo info, dpyGnss::get_info_handler_function handler) |
void | asyncPerformSoftwareReset (dpyGnss::SwResetType reset_type, dpyGnss::result_handler_function handler) |
void | asyncPerformHardwareReset (dpyGnss::result_handler_function handler) |
void | asyncGetStatus (dpyGnss::get_gnss_status_handler_function handler) |
void | getPeriodicStatus_S (dpyGnss::get_gnss_status_handler_function handler) |
void | getPeriodicStatus_U () |
boost::system::error_code | subscribe (GnssObserver *observer) |
boost::system::error_code | unsubscribe (GnssObserver *observer) |
boost::system::error_code | setPowerStatus (dpyGnss::GnssPowerStatus &power_stat) |
boost::system::error_code | getPowerStatus (dpyGnss::GnssPowerStatus &pwr_stat) |
boost::system::error_code | getLastPosition (GnssPosition &last_position) |
boost::system::error_code | getStoredTimeDate (tm &gnssdatetime) |
boost::system::error_code | getModuleInfo (dpyGnss::GnssInfo info, std::string &value) |
boost::system::error_code | performSoftwareReset (dpyGnss::SwResetType reset_type) |
boost::system::error_code | performHardwareReset () |
void | asyncStartSimulationMode (dpyGnss::SimulationMode simulation_type, std::string file_path, dpyGnss::result_handler_function handler) |
void | asyncStopSimulationMode (dpyGnss::result_handler_function handler) |
Member Function Documentation
bool isAlive | ( | ) |
TESTING : define this flag to fake/mock DPY API methods to be able to unit test classes which use DPY APIs.