FACT++
1.0
|
Public Member Functions | |
ConnectionWeather (ba::io_service &ioservice, MessageImp &imp) | |
void | SetVerbose (bool b) |
void | SetInterval (uint16_t i) |
void | SetSite (const string &site) |
int | GetState () const |
ConnectionWeather (ba::io_service &ioservice, MessageImp &imp) | |
void | SetVerbose (bool b) |
void | SetInterval (uint16_t i) |
void | SetSite (const string &site) |
int | GetState () const |
Static Public Attributes | |
static const uint16_t | kMaxAddr = 0xfff |
Protected Member Functions | |
void | HandleRead (const boost::system::error_code &err, size_t bytes_received) |
void | StartReadReport () |
void | PostRequest () |
void | Request () |
void | HandleRequest (const bs::error_code &error) |
void | HandleRead (const boost::system::error_code &err, size_t bytes_received) |
void | StartReadReport () |
void | PostRequest () |
void | Request () |
void | HandleRequest (const bs::error_code &error) |
Protected Attributes | |
boost::array< char, 4096 > | fArray |
Time | fLastReport |
Time | fLastReception |
ba::deadline_timer | fKeepAlive |
Time | fLastSeeing |
boost::asio::deadline_timer | fKeepAlive |
Private Member Functions | |
virtual void | UpdateWeather (const Time &, const DimWeather &) |
void | ConnectionEstablished () |
virtual void | UpdateWeather (const Time &, const DimWeather &) |
virtual void | UpdateSeeing (const Time &, const DimSeeing &) |
virtual void | UpdateDust (const Time &, const float &) |
void | ConnectionEstablished () |
Private Attributes | |
uint16_t | fInterval |
bool | fIsVerbose |
string | fSite |
string | fRdfData |
float | fDust |
Definition at line 32 of file magicweather.cc.