Nidrax

ICommClient.h

Oct 4th, 2018
436
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.49 KB | None | 0 0
  1. #ifndef ICOMM_CLIENT_H
  2. #define ICOMM_CLIENT_H
  3.  
  4. #include <string>
  5. #include <boost/signals2/signal.hpp>
  6.  
  7. class ICommClient  // NOLINT
  8. {
  9. public:
  10.     ~ICommClient() = default;
  11.  
  12.     virtual void Init(bool) = 0;
  13.     virtual void Send(std::string) = 0;
  14.     virtual void Send(int) = 0;
  15.     virtual boost::signals2::signal<void(double *, int)>* GetIncomer() = 0;
  16.     virtual boost::signals2::signal<void(std::string)>* GetStringIncomer() = 0;
  17.  
  18. protected:
  19.     ICommClient() = default;
  20. };
  21.  
  22. #endif //ICOMM_CLIENT_H
Advertisement
Add Comment
Please, Sign In to add comment