gnssApi.h
Go to the documentation of this file.
99 typedef boost::function<void(boost::system::error_code error_code, GnssPosition& last_position)> get_position_handler_function;
100 typedef boost::function<void(boost::system::error_code error_code, GnssPosition& next_position)> get_periodic_position_handler_function;
101 typedef boost::function<void(boost::system::error_code error_code, GnssStatus& current_status)> get_gnss_status_handler_function;
102 typedef boost::function<void(boost::system::error_code error_code, tm date)> get_time_date_handler_function;
103 typedef boost::function<void(boost::system::error_code error_code, GnssInfo type, const std::string& value)> get_info_handler_function;
104 typedef boost::function<void(boost::system::error_code error_code, GnssPowerStatus pwr_stat)> power_status_handler_function;
105 typedef boost::function<void(boost::system::error_code error_code, OdometerData& odometer_data)> get_odometer_data_handler_function;
158 void asyncSetPowerStatus(dpyGnss::GnssPowerStatus power_stat, dpyGnss::result_handler_function handler);
163 void asyncPerformSoftwareReset(dpyGnss::SwResetType reset_type, dpyGnss::result_handler_function handler);
186 void asyncStartSimulationMode(dpyGnss::SimulationMode simulation_type, std::string file_path,dpyGnss::result_handler_function handler);
199 virtual void asyncSetPowerStatus(dpyGnss::GnssPowerStatus power_stat, dpyGnss::result_handler_function handler);
203 virtual void asyncGetModuleInfo(dpyGnss::GnssInfo info, dpyGnss::get_info_handler_function handler);
204 virtual void asyncPerformSoftwareReset(dpyGnss::SwResetType reset_type, dpyGnss::result_handler_function handler);
227 virtual void asyncStartSimulationMode(dpyGnss::SimulationMode simulation_type, std::string file_path,dpyGnss::result_handler_function handler);
int distance
Ground distance since last reset in meters.
Definition: gnssApi.h:89
AntenaStatus antenna_stat
Current AntenaStatus, please check dpyGnss::AntenaStatus documentation to be able to interpret this v...
Definition: gnssApi.h:82
boost::function< void(boost::system::error_code error_code, GnssStatus ¤t_status)> get_gnss_status_handler_function
Prototype of the handler function for setPositionSubscriberHandler method.
Definition: gnssApi.h:101
Plain position text will be used to simulate positions.
Definition: gnssApi.h:30
int accuracy
Ground distance accuracy (1-sigma) in meters.
Definition: gnssApi.h:90
NMEA format text will be used to simulate positions.
Definition: gnssApi.h:31
dpyGnssPosition::QualityIndicator fix_quality
Current FIX status. Module is FIXED if different from NO_FIX.
Definition: gnssApi.h:83
boost::function< void(boost::system::error_code error_code, GnssPowerStatus pwr_stat)> power_status_handler_function
Prototype of the handler function for generateEventMsg method.
Definition: gnssApi.h:104
SwResetType
Defines the possible ways of performing a GNSS Reset.
Definition: gnssApi.h:43
Defines the status information structure that is obtained within a GNSS STATUS.
Definition: gnssApi.h:79
Deepsy Gnss namespace that includes the different enums, structs or method signatures that should be ...
boost::function< void(boost::system::error_code error_code, GnssInfo type, const std::string &value)> get_info_handler_function
Prototype of the handler function for getModemInfo method.
Definition: gnssApi.h:103
boost::function< void(const bool &available)> service_availability_handler
Prototype of the handler function used to monitor service availability.
Definition: gnssApi.h:98
boost::function< void(boost::system::error_code error_code)> result_handler_function
Prototype of the handler function for obtaining result of the different operations.
Definition: gnssApi.h:106
GnssPowerStatus pwr_status
Current GnssPowerStatus.
Definition: gnssApi.h:81
Definition: gnssApi.h:87
AntenaStatus
Defines the possible status in which the antenna can be.
Definition: gnssApi.h:61
Antenna has been enabled and has voltage supply. Check interpretation of this value in the documentat...
Definition: gnssApi.h:66
boost::function< void(boost::system::error_code error_code, GnssPosition &next_position)> get_periodic_position_handler_function
Prototype of the handler function for setPositionSubscriberHandler method.
Definition: gnssApi.h:100
GnssInfo
Defines the possible information that can be queried.
Definition: gnssApi.h:70
boost::function< void(boost::system::error_code error_code, tm date)> get_time_date_handler_function
Prototype of the handler function for getStoredTimeDate method.
Definition: gnssApi.h:102
boost::function< void(boost::system::error_code error_code, GnssPosition &last_position)> get_position_handler_function
Prototype of the handler function for getLastPosition method.
Definition: gnssApi.h:99
GnssPowerStatus
Defines the possible GNSS POWER states that the gnss can be in.
Definition: gnssApi.h:35
boost::function< void(boost::system::error_code error_code, OdometerData &odometer_data)> get_odometer_data_handler_function
Prototype of the handler function for getOdometerData method.
Definition: gnssApi.h:105
QualityIndicator
Defines the posible FIX quality indicators.
Definition: gnssPosition.h:20
int total_distance
Total cumulative ground distance in meters.
Definition: gnssApi.h:91
bool simulation_mode_active
Information about the status of the GNSS in terms of operation mode (real/simulation). If active, the positions received are not real , but simulated from a file.
Definition: gnssApi.h:84
