|
iCub-main
|
IRpcServer Interface for an example module. More...
#include <IRpcServer.h>
Inheritance diagram for IRpcServer:Public Member Functions | |
| IRpcServer () | |
| virtual std::int32_t | get_answer () |
| Get answer from server. | |
| 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 bool | start () |
| Start service. | |
| virtual bool | stop () |
| Stop service. | |
| virtual bool | is_running () |
| Check is service is running. | |
| virtual std::vector< std::string > | help (const std::string &functionName="--all") |
| bool | read (yarp::os::ConnectionReader &connection) override |
IRpcServer Interface for an example module.
Definition at line 24 of file IRpcServer.h.
| IRpcServer::IRpcServer | ( | ) |
Definition at line 289 of file IRpcServer.cpp.
|
virtual |
Add one integer to future answers.
| x | value to add |
Definition at line 314 of file IRpcServer.cpp.
|
virtual |
Get answer from server.
Reimplemented in RpcServerImpl.
Definition at line 294 of file IRpcServer.cpp.
|
virtual |
Definition at line 355 of file IRpcServer.cpp.
|
virtual |
Check is service is running.
Reimplemented in RpcServerImpl.
Definition at line 344 of file IRpcServer.cpp.
|
override |
Definition at line 415 of file IRpcServer.cpp.
|
virtual |
Set value for future answers.
| rightAnswer | new answer |
Definition at line 304 of file IRpcServer.cpp.
|
virtual |
Start service.
Reimplemented in RpcServerImpl.
Definition at line 324 of file IRpcServer.cpp.
|
virtual |
Stop service.
Reimplemented in RpcServerImpl.
Definition at line 334 of file IRpcServer.cpp.