1 #ifndef SIMPT_PAREX_CLIENT_PROTOCOL_H_
2 #define SIMPT_PAREX_CLIENT_PROTOCOL_H_
30 class ExplorationProgress;
88 bool StopTask(
const std::string &name,
int task);
93 bool RestartTask(
const std::string &name,
int task);
118 virtual void ReceivePtree(
const boost::property_tree::ptree &reader);
123 #endif // end-of-include-guard
Base class for the XML/ptree protocols between client, server and node.
bool RequestExplorationNames()
Request a list of current Explorations.
void ExplorationStatus(const ExplorationProgress *exploration) const
Signal emitted when new status update is received.
virtual void ReceivePtree(const boost::property_tree::ptree &reader)
Receive a ptree message Implementation of Protocol::ReceivePtree.
Class describing the progress state of an exploration.
bool RestartTask(const std::string &name, int task)
Request to restart a task.
bool SubscribeUpdates(const std::string &explorationName)
Subscribe for regular updates.
virtual ~ClientProtocol()
Destructor.
bool SendExploration(const Exploration *exploration)
Send exploration.
bool DeleteExploration(const std::string &name)
Request a stop and delete of the given exploration.
Class for storing server info used on client-side.
Namespace for SimPT parameter explorer package.
void ExplorationNames(const std::vector< std::string > &names) const
Signal emitted when exploration names are received.
ClientProtocol(ServerInfo *server, QObject *parent=nullptr)
Constructor.
bool UnsubscribeUpdates(const std::string &explorationName)
Unsubscribe for regular updates.
void ExplorationDeleted() const
Signal emitted when subscribed exploration has been deleted.
see the online Qt documentation
Class describing a generic exploration.
bool StopTask(const std::string &name, int task)
Request to stop a task.
Client side of the protocol.