6#ifndef YARP_MANAGER_YARPBROKER
7#define YARP_MANAGER_YARPBROKER
37 bool init(
const char* szcmd,
const char* szparam,
38 const char* szhost,
const char* szstdio,
39 const char* szworkdir,
const char* szenv )
override;
41 bool start()
override;
44 bool connect(
const std::string& from,
const std::string& to,
const std::string& carrier,
bool persist =
false)
override;
45 bool disconnect(
const std::string& from,
const std::string& to,
const std::string& carrier)
override;
46 bool rmconnect(
const std::string& from,
const std::string& to);
48 bool exists(
const std::string& port)
override;
49 std::string
requestRpc(
const std::string& szport,
const std::string& request,
double timeout)
override;
50 bool connected(
const std::string& from,
const std::string& to,
const std::string& carrier)
override;
51 std::string
error()
override;
60 bool getAllPorts(std::vector<std::string> &stingList);
62 bool setQos(
const std::string& from,
const std::string& to,
const std::string& qosFrom,
const std::string& qosTo);
76 std::string strWorkdir;
85 std::string strStdioUUID;
86 std::string __trace_message;
91 bool timeout(
double base,
double timeout);
bool rmconnect(const std::string &from, const std::string &to)
void threadRelease() override
Release method.
bool getAllPorts(std::vector< std::string > &stingList)
bool connected(const std::string &from, const std::string &to, const std::string &carrier) override
std::string requestRpc(const std::string &szport, const std::string &request, double timeout) override
void detachStdout() override
bool setQos(const std::string &from, const std::string &to, const std::string &qosFrom, const std::string &qosTo)
bool initialized() override
bool connect(const std::string &from, const std::string &to, const std::string &carrier, bool persist=false) override
connection broker
bool getAllProcesses(const std::string &server, ProcessContainer &processes)
bool threadInit() override
Initialization method.
std::string error() override
bool disconnect(const std::string &from, const std::string &to, const std::string &carrier) override
bool exists(const std::string &port) override
void run() override
Loop function.
bool attachStdout() override
bool getSystemInfo(const std::string &server, yarp::os::SystemInfo &info)
A simple collection of objects that can be described and transmitted in a portable way.
A mini-server for performing network communication in the background.
An abstraction for a periodic thread.
A class for storing options and configuration information.
Preferences for the port's Quality of Service.
A class for thread synchronization and mutual exclusion.
A class to get the system (platform) status such as available memory, storage, CPU load and etc.
std::vector< Process > ProcessContainer