iCub-main
RpcServerImpl.h
Go to the documentation of this file.
1 #include <IRpcServer.h>
2 
3 
4 class RpcServerImpl : public IRpcServer {
5  int answer;
6  bool running;
7 
8 public:
10 
11  virtual int32_t get_answer();
12  virtual bool set_answer(const int32_t rightAnswer);
13  virtual int32_t add_int(const int32_t x);
14  virtual bool start();
15  virtual bool stop();
16  virtual bool is_running();
17 };
18 
19 
20 
IRpcServer Interface for an example module.
Definition: IRpcServer.h:26
virtual int32_t get_answer()
Get answer from server.
virtual int32_t add_int(const int32_t x)
virtual bool start()
Start service.
virtual bool set_answer(const int32_t rightAnswer)
virtual bool stop()
Stop service.
virtual bool is_running()
Check is service is running.