VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | Protected Slots | Protected Attributes
makVrv::DtServerAvailable Class Reference

Class that pings a server to find out whether it's available or not. More...

Inheritance diagram for makVrv::DtServerAvailable:
Inheritance graph
[legend]

Public Member Functions

 DtServerAvailable (const std::string &serverKey, const QUrl &page)
 Constructor.
virtual ~DtServerAvailable ()
 Destructor.
void processRequest ()
 Sends the request to the server.

Public Attributes

boost::signal< void(const
std::string &, bool, const
std::string &)> 
signal_serverAvailable

Protected Slots

virtual void finished (QNetworkReply *)
 Callback called by the network request.

Protected Attributes

QNetworkAccessManager myManager
QUrl myUrl
std::string myKey

Detailed Description

Class that pings a server to find out whether it's available or not.

\ ingroup vrvOsgEarthQt

Constructor & Destructor Documentation

makVrv::DtServerAvailable::DtServerAvailable ( const std::string &  serverKey,
const QUrl &  page 
)

Constructor.

virtual makVrv::DtServerAvailable::~DtServerAvailable ( )
virtual

Destructor.

Member Function Documentation

void makVrv::DtServerAvailable::processRequest ( )

Sends the request to the server.

virtual void makVrv::DtServerAvailable::finished ( QNetworkReply *  )
protectedvirtualslot

Callback called by the network request.

Member Data Documentation

boost::signal<void (const std::string&, bool, const std::string&)> makVrv::DtServerAvailable::signal_serverAvailable
QNetworkAccessManager makVrv::DtServerAvailable::myManager
protected
QUrl makVrv::DtServerAvailable::myUrl
protected
std::string makVrv::DtServerAvailable::myKey
protected

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

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)