1 #ifndef SIMPT_PAREX_SERVER_CLIENT_PROTOCOL_H_
2 #define SIMPT_PAREX_SERVER_CLIENT_PROTOCOL_H_
30 class ExplorationProgress;
56 void SendAck(
const std::string& name);
109 void StopTask(
const std::string& name,
int id);
122 virtual void ReceivePtree(
const boost::property_tree::ptree& reader);
127 #endif // end-of-include-guard
void SendStatusDeleted(const std::string &name)
Send a deleted status for the exploration with the specified name.
Base class for the XML/ptree protocols between client, server and node.
void Subscribe(const std::string &name)
Emitted when a request for subscription arrives.
virtual void ReceivePtree(const boost::property_tree::ptree &reader)
Receive a ptree message Implementation of Protocol::ReceivePtree.
void SendAck(const std::string &name)
Acknowledgement for sent exploration.
void ExplorationNamesRequested()
Emitted when the names of the explorations are requested.
virtual ~ServerClientProtocol()
Destructor.
ServerClientProtocol(QTcpSocket *socket, QObject *parent=0)
Constructor.
Class describing the progress state of an exploration.
void SendExplorationNames(const std::vector< std::string > &names)
Send list of Exploration names.
void DeleteExploration(const std::string &name)
Emitted when a request to stop/delete the given exploration is received.
void StopTask(const std::string &name, int id)
Emitted when a request for stopping a task arrives.
void ExplorationReceived(const Exploration *exploration)
Emitted when an exploration is received.
ServerClient Protocol to deal with Client-Server communication (Server-side)
Namespace for SimPT parameter explorer package.
void Unsubscribe(const std::string &name)
Emitted when a request for unsubscription arrives.
see the online Qt documentation
Class describing a generic exploration.
void RestartTask(const std::string &name, int id)
Emitted when a request for stopping a task arrives.
void SendStatus(const ExplorationProgress &status)
Send status for given exploration.