OpenDaVINCI  4.16.0
UDPFactoryWorker.h
Go to the documentation of this file.
1 
20 #ifndef OPENDAVINCI_CORE_WRAPPER_UDPFACTORYWORKER_H_
21 #define OPENDAVINCI_CORE_WRAPPER_UDPFACTORYWORKER_H_
22 
25 
28 
29 namespace odcore {
30  namespace wrapper {
31 
32  using namespace std;
33 
44  template <NetworkLibraryProducts product>
45  class OPENDAVINCI_API UDPFactoryWorker {
46  public:
54  static odcore::io::udp::UDPSender* createUDPSender(const string &address, const uint32_t &port);
55 
63  static odcore::io::udp::UDPReceiver* createUDPReceiver(const string &address, const uint32_t &port);
64  };
65  }
66 } // odcore::wrapper
67 
68 #endif /*OPENDAVINCI_CORE_WRAPPER_UDPFACTORYWORKER_H_*/
Definition: UDPSender.h:60
#define OPENDAVINCI_API
Definition: opendavinci.h:67
Definition: UDPReceiver.h:82