FACT++
1.0
|
Public Member Functions | |
ConnectionGPS (ba::io_service &ioservice, MessageImp &imp) | |
void | SetVerbose (bool b) |
void | Request (bool immediate=false) |
int | GetState () const |
Static Public Attributes | |
static const uint16_t | kMaxAddr = 0xfff |
Protected Member Functions | |
virtual void | Update (const GPS::NEMA &) |
Private Member Functions | |
float | ConvLngLat (const string &l) const |
float | ConvTm (const string &t) const |
bool | ParseAnswer (const string &buffer) |
void | HandleRead (const boost::system::error_code &err, size_t bytes_received) |
void | StartReadReport () |
void | HandleRequest (const bs::error_code &error) |
void | ConnectionEstablished () |
Private Attributes | |
bool | fIsVerbose |
Time | fLastReport |
int | fState |
boost::asio::streambuf | fBuffer |
boost::asio::deadline_timer | fKeepAlive |
Definition at line 21 of file gpsctrl.cc.