UHD
003.004.002-0-unknown
|
#include <gps_ctrl.hpp>
Public Types | |
typedef boost::shared_ptr < gps_ctrl > | sptr |
Public Member Functions | |
virtual std::vector< std::string > | get_sensors (void)=0 |
virtual uhd::sensor_value_t | get_sensor (std::string key)=0 |
virtual bool | gps_detected (void)=0 |
Static Public Member Functions | |
static sptr | make (uart_iface::sptr uart) |
typedef boost::shared_ptr<gps_ctrl> uhd::gps_ctrl::sptr |
virtual uhd::sensor_value_t uhd::gps_ctrl::get_sensor | ( | std::string | key | ) | [pure virtual] |
Retrieve the named sensor
virtual std::vector<std::string> uhd::gps_ctrl::get_sensors | ( | void | ) | [pure virtual] |
Retrieve the list of sensors this GPS object provides
virtual bool uhd::gps_ctrl::gps_detected | ( | void | ) | [pure virtual] |
Tell you if there's a supported GPS connected or not
static sptr uhd::gps_ctrl::make | ( | uart_iface::sptr | uart | ) | [static] |
Make a GPS config for Jackson Labs or generic NMEA GPS devices