LRT14  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator
LiveNetworkSendable.h
1 #ifndef LIVE_NETWORK_SENDABLE_H_
2 #define LIVE_NETWORK_SENDABLE_H_
3 
4 #include "LiveNetworkSender.h"
5 #include <string>
6 #include <vector>
7 
12 {
13 public:
15  virtual ~LiveNetworkSendable();
16 
20  virtual void Send() = 0;
21 
22 protected:
23 
30  template<typename T> inline void LiveNetworkSendable::SendToNetwork(T value, std::string key, std::string table)
31  {
32  m_sender->Send(value, key, table);
33  }
34 
35 private:
36  LiveNetworkSender* m_sender;
37 };
38 
39 #endif /* LIVE_NETWORK_SENDABLE_H_ */