AGXDynamics  2.31.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
agxIO::RemoteCommandServer::RequestHandler Class Reference

#include <RemoteCommandServer.h>

Public Types

typedef std::function< bool(RemoteCommandServer
*, mg_connection *, const
QueryArgumentTable &)> 
CallbackFunction
 

Public Member Functions

 RequestHandler ()
 
 RequestHandler (const CallbackFunction &func)
 
template<class ClassT >
 RequestHandler (bool(ClassT::*fun)(RemoteCommandServer *, mg_connection *, const QueryArgumentTable &), ClassT *obj)
 
bool isValid () const
 
bool operator() (RemoteCommandServer *server, mg_connection *connection, const QueryArgumentTable &arguments) const
 

Detailed Description

Definition at line 87 of file RemoteCommandServer.h.

Member Typedef Documentation

Definition at line 90 of file RemoteCommandServer.h.

Constructor & Destructor Documentation

agxIO::RemoteCommandServer::RequestHandler::RequestHandler ( )
inline

Definition at line 92 of file RemoteCommandServer.h.

agxIO::RemoteCommandServer::RequestHandler::RequestHandler ( const CallbackFunction &  func)
inline

Definition at line 93 of file RemoteCommandServer.h.

template<class ClassT >
agxIO::RemoteCommandServer::RequestHandler::RequestHandler ( bool(ClassT::*)(RemoteCommandServer *, mg_connection *, const QueryArgumentTable &)  fun,
ClassT *  obj 
)
inline

Definition at line 96 of file RemoteCommandServer.h.

Member Function Documentation

bool agxIO::RemoteCommandServer::RequestHandler::isValid ( ) const
inline

Definition at line 98 of file RemoteCommandServer.h.

bool agxIO::RemoteCommandServer::RequestHandler::operator() ( RemoteCommandServer *  server,
mg_connection *  connection,
const QueryArgumentTable &  arguments 
) const
inline

Definition at line 103 of file RemoteCommandServer.h.


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