gnssApi.h File Reference
#include <boost/function.hpp>
#include <boost/system/error_code.hpp>
#include <boost/shared_ptr.hpp>
#include "gnssPosition.h"
#include <vector>
Include dependency graph for gnssApi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GnssStatus
 Defines the status information structure that is obtained within a GNSS STATUS. More...
 
class  GnssObserver
 Gnss Observer class. More...
 
class  Gnss
 Main application. More...
 

Namespaces

 dpyGnss
 Deepsy Gnss namespace that includes the different enums, structs or method signatures that should be used.
 

Typedefs

typedef boost::function< void(const bool &available)> service_availability_handler
 Prototype of the handler function used to monitor service availability. More...
 
typedef boost::function< void(boost::system::error_code error_code, GnssPosition &last_position)> get_position_handler_function
 Prototype of the handler function for getLastPosition method.
 
typedef 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.
 
typedef boost::function< void(boost::system::error_code error_code, GnssStatus &current_status)> get_gnss_status_handler_function
 Prototype of the handler function for setPositionSubscriberHandler method.
 
typedef boost::function< void(boost::system::error_code error_code, tm date)> get_time_date_handler_function
 Prototype of the handler function for getStoredTimeDate method.
 
typedef 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.
 
typedef boost::function< void(boost::system::error_code error_code, GnssPowerStatus pwr_stat)> power_status_handler_function
 Prototype of the handler function for generateEventMsg method.
 
typedef boost::function< void(boost::system::error_code error_code)> result_handler_function
 Prototype of the handler function for obtaining result of the different operations.
 

Enumerations

enum  SimulationMode { PLAIN_TEXT_SIMULATION, NMEA_SIMULATION }
 Possible simulation modes. More...
 
enum  GnssPowerStatus { GNSS_DISABLED, GNSS_POWER_SAVE, GNSS_ON }
 Defines the possible GNSS POWER states that the gnss can be in. More...
 
enum  SwResetType { HOTSTART, WARMSTART, COLDSTART }
 Defines the possible ways of performing a GNSS Reset. More...
 
enum  AntenaStatus { ANTENNA_OFF, ANTENNA_SHORT_CIRCUIT, ANTENNA_NOT_DETECTED, ANTENNA_OK }
 Defines the possible status in which the antenna can be. More...
 
enum  GnssInfo { MANUFACTURER, MODEL, FW_VERSION, PROTOCOL_VERSION }
 Defines the possible information that can be queried. More...