Realistic 3D camera system
3D camera system components
message_host.h
Go to the documentation of this file.
1 /*
2  * Whatever the licensing for the 3D camera project stipulates
3  */
4 
41 #ifndef MESSAGE_HOST_H
42 #define MESSAGE_HOST_H
43 
45  virtual void message_recieved(message_client message) = 0;
46 };
47 
48 class message_host {
49 public:
55  message_host(int listen, message_callback* callback);
56  message_host(const message_host& orig) = delete;
57  ~message_host();
58 
59 protected:
60 
61 private:
62  message_callback* callback;
63 };
64 
65 #endif /* MESSAGE_HOST_H */
66 
int listen(socket_type s, int backlog, asio::error_code &ec)
Definition: socket_ops.ipp:684
virtual void message_recieved(message_client message)=0