OpenDaVINCI  4.15.3
UDPFactory.h
Go to the documentation of this file.
1 
20 #ifndef OPENDAVINCI_CORE_IO_UDP_UDPFACTORY_H_
21 #define OPENDAVINCI_CORE_IO_UDP_UDPFACTORY_H_
22 
23 #include <string>
24 
26 #include <memory>
27 
28 namespace odcore {
29  namespace io {
30  namespace udp {
31 
32 class UDPReceiver;
33 class UDPSender;
34 
35  using namespace std;
36 
45  static std::shared_ptr<UDPSender> createUDPSender(const string &address, const uint32_t &port);
46 
54  static std::shared_ptr<UDPReceiver> createUDPReceiver(const string &address, const uint32_t &port);
55  };
56 
57  }
58  }
59 } // odcore::io::udp
60 
61 #endif /*OPENDAVINCI_CORE_IO_UDP_UDPFACTORY_H_*/
Definition: UDPSender.h:60
Definition: UDPFactory.h:37
#define OPENDAVINCI_API
Definition: opendavinci.h:67
Definition: UDPReceiver.h:82