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

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
 

Detailed Description

Definition at line 32 of file magicweather.cc.


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