Changeset 178 in flair-src for trunk/lib/FlairCore/src/unexported
- Timestamp:
- May 19, 2017, 4:15:52 PM (8 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairCore/src/unexported/UdpSocket_impl.h
r177 r178 4 4 // %flair:license} 5 5 /*! 6 * \file Socket_impl.h6 * \file UdpSocket_impl.h 7 7 * \brief Classe creant une socket 8 8 * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253 … … 11 11 */ 12 12 13 #ifndef SOCKET_IMPL_H14 #define SOCKET_IMPL_H13 #ifndef UDPSOCKET_IMPL_H 14 #define UDPSOCKET_IMPL_H 15 15 16 16 #include <sys/socket.h> … … 21 21 #endif 22 22 23 namespace flair { 24 namespace core { 25 class Socket; 26 } 27 } 23 namespace flair { namespace core { 24 class UdpSocket; 25 } } 28 26 29 class Socket_impl {27 class UdpSocket_impl { 30 28 public: 31 Socket_impl(const flair::core::Socket *self, std::string name,29 UdpSocket_impl(const flair::core::UdpSocket *self, std::string name, 32 30 std::string address, bool broadcast = false); 33 Socket_impl(const flair::core::Socket *self, std::string name, uint16_t port);34 ~ Socket_impl();31 UdpSocket_impl(const flair::core::UdpSocket *self, std::string name, uint16_t port); 32 ~UdpSocket_impl(); 35 33 36 34 void SendMessage(std::string message); … … 45 43 bool broadcast; 46 44 void Init(void); 47 const flair::core:: Socket *self;45 const flair::core::UdpSocket *self; 48 46 struct sockaddr_in sock_in; 49 47 #ifdef __XENO__ … … 55 53 }; 56 54 57 #endif // SOCKET_IMPL_H55 #endif // UDPSOCKET_IMPL_H
Note:
See TracChangeset
for help on using the changeset viewer.