Changeset 178 in flair-src for trunk/lib/FlairCore/src/UdpSocket.h
- Timestamp:
- 05/19/17 16:15:52 (6 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairCore/src/UdpSocket.h
r177 r178 11 11 */ 12 12 13 #ifndef SOCKET_H14 #define SOCKET_H13 #ifndef UDPSOCKET_H 14 #define UDPSOCKET_H 15 15 16 16 #include <unistd.h> … … 18 18 #include <Object.h> 19 19 20 class Socket_impl;20 class UdpSocket_impl; 21 21 22 22 namespace flair { 23 23 namespace core { 24 24 25 /*! \class Socket25 /*! \class UdpSocket 26 26 * 27 27 * \brief Class encapsulating a UDP socket. It assumes packets are coming from … … 29 29 * 30 30 */ 31 class Socket : public Object {31 class UdpSocket : public Object { 32 32 public: 33 33 /*! … … 41 41 * \param broadcast true if address is a broadcast address 42 42 */ 43 Socket(const Object *parent, std::string name, std::string address,43 UdpSocket(const Object *parent, std::string name, std::string address, 44 44 bool broadcast = false); 45 45 … … 53 53 * \param port listening port 54 54 */ 55 Socket(const Object *parent, std::string name, uint16_t port);55 UdpSocket(const Object *parent, std::string name, uint16_t port); 56 56 57 57 /*! … … 59 59 * 60 60 */ 61 ~ Socket();61 ~UdpSocket(); 62 62 63 63 /*! … … 103 103 104 104 private: 105 class Socket_impl *pimpl_;105 class UdpSocket_impl *pimpl_; 106 106 }; 107 107 … … 109 109 } // end namespace flair 110 110 111 #endif // SOCKET_H111 #endif // UDPSOCKET_H
Note:
See TracChangeset
for help on using the changeset viewer.