25 #ifndef SRC_GUI_INCLUDE_CORBO_GUI_RPC_TASK_WORKER_H_ 26 #define SRC_GUI_INCLUDE_CORBO_GUI_RPC_TASK_WORKER_H_ 57 auto signal_feedback = [
this](
const messages::Signal& signal) { emit
feedback(signal); };
58 bool success =
_rpc_client->performTask(signal_feedback, &msg);
64 void feedback(
const messages::Signal& signal);
74 #endif // SRC_GUI_INCLUDE_CORBO_GUI_RPC_TASK_WORKER_H_ RpcTaskWorker(QObject *parent=nullptr)
std::shared_ptr< MasterServiceClient > _rpc_client
void feedback(const messages::Signal &signal)
void taskFinished(bool success, const QString &msg)
void setRpcClient(std::shared_ptr< MasterServiceClient > client)