iCub-main
|
#include <RpcServerImpl.h>
Public Member Functions | |
RpcServerImpl () | |
virtual int32_t | get_answer () |
Get answer from server. | |
virtual bool | set_answer (const int32_t rightAnswer) |
virtual int32_t | add_int (const int32_t x) |
virtual bool | start () |
Start service. | |
virtual bool | stop () |
Stop service. | |
virtual bool | is_running () |
Check is service is running. | |
Public Member Functions inherited from IRpcServer | |
IRpcServer () | |
virtual bool | set_answer (const std::int32_t rightAnswer) |
Set value for future answers. | |
virtual std::int32_t | add_int (const std::int32_t x) |
Add one integer to future answers. | |
virtual std::vector< std::string > | help (const std::string &functionName="--all") |
bool | read (yarp::os::ConnectionReader &connection) override |
Definition at line 4 of file RpcServerImpl.h.
RpcServerImpl::RpcServerImpl | ( | ) |
Definition at line 6 of file RpcServerImpl.cpp.
|
virtual |
Definition at line 29 of file RpcServerImpl.cpp.
|
virtual |
Get answer from server.
Reimplemented from IRpcServer.
Definition at line 12 of file RpcServerImpl.cpp.
|
virtual |
Check is service is running.
Reimplemented from IRpcServer.
Definition at line 49 of file RpcServerImpl.cpp.
|
virtual |
Definition at line 18 of file RpcServerImpl.cpp.
|
virtual |
Start service.
Reimplemented from IRpcServer.
Definition at line 37 of file RpcServerImpl.cpp.
|
virtual |
Stop service.
Reimplemented from IRpcServer.
Definition at line 43 of file RpcServerImpl.cpp.