27 #ifndef CLIENT_MANAGER_H 28 #define CLIENT_MANAGER_H 33 #include <yarp/os/RFModule.h> 34 #include <yarp/os/RpcServer.h> 54 ClientManager(std::shared_ptr<ControllerClient> customClient,
bool suppressPerformanceWarnings=
false);
65 bool configure(yarp::os::ResourceFinder &rf);
113 virtual bool read(yarp::os::ConnectionReader& connection);
121 void callbackParser(yarp::os::Bottle& message, yarp::os::Bottle& reply);
129 std::shared_ptr<ControllerClient> client;
130 std::shared_ptr<moduleCallback> rpcCallback;
131 yarp::os::RpcServer rpcPort;
134 int expectedClientPeriod;
140 std::string rpcPortName;
142 static int CONTROLLER_CLIENT_MANAGER_COUNT;
145 bool suppressWarnings;
virtual std::string getManagerName()
bool configure(yarp::os::ResourceFinder &rf)
virtual bool customUpdateModule()
#define DEFINE_CLASS_POINTER_TYPEDEFS(Class)
A callback function which binds the rpc server port opened in the contoller server module to the cont...
moduleCallback(ClientManager &newModuleRef)
virtual void customCallbackParser(yarp::os::Bottle &message, yarp::os::Bottle &reply)
virtual bool read(yarp::os::ConnectionReader &connection)
ClientManager(std::shared_ptr< ControllerClient > customClient, bool suppressPerformanceWarnings=false)
The controller module which launches the controller thread.