1 #ifndef SIMPT_PAREX_NODE_PROTOCOL_H_
2 #define SIMPT_PAREX_NODE_PROTOCOL_H_
51 void Delete(
const std::string &name)
const;
64 virtual void ReceivePtree(
const boost::property_tree::ptree &reader);
69 #endif // end-of-include-guard
Base class for the XML/ptree protocols between client, server and node.
void Delete(const std::string &name) const
Emitted to indicate an exploration must be deleted from the disk.
void StopTask() const
Emitted to indicate the current task must be stopped.
virtual ~NodeProtocol()
Destructor.
A container class for the final result of a simulation.
Class that implements the node version of the protocol.
void SendSimResult(const SimResult &result)
Sends the result of a simulation back to the server.
void TaskReceived(const SimTask *task) const
Signal emitted when a SimTask is received.
virtual void ReceivePtree(const boost::property_tree::ptree &reader)
Receive a ptree message (implementats Protocol::ReceivePtree).
Namespace for SimPT parameter explorer package.
NodeProtocol(QTcpSocket *socket, QObject *parent=0)
Constructor.
Contains all information needed for a transmitable simulation task.
void SuccessfullySent() const
Signal emitted when a SimTask is successfully sent.
see the online Qt documentation