FACT++  1.0
ConnectionGPS Class Reference
+ Inheritance diagram for ConnectionGPS:
+ Collaboration diagram for ConnectionGPS:

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

Detailed Description

Definition at line 21 of file gpsctrl.cc.

The documentation for this class was generated from the following file: