Changeset 178 in flair-src for trunk/lib/FlairCore/src/unexported


Ignore:
Timestamp:
May 19, 2017, 4:15:52 PM (8 years ago)
Author:
Bayard Gildas
Message:

Change Udp socket object name (from "Socket" to "UdpSocket")

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairCore/src/unexported/UdpSocket_impl.h

    r177 r178  
    44// %flair:license}
    55/*!
    6  * \file Socket_impl.h
     6 * \file UdpSocket_impl.h
    77 * \brief Classe creant une socket
    88 * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
     
    1111 */
    1212
    13 #ifndef SOCKET_IMPL_H
    14 #define SOCKET_IMPL_H
     13#ifndef UDPSOCKET_IMPL_H
     14#define UDPSOCKET_IMPL_H
    1515
    1616#include <sys/socket.h>
     
    2121#endif
    2222
    23 namespace flair {
    24 namespace core {
    25 class Socket;
    26 }
    27 }
     23namespace flair { namespace core {
     24  class UdpSocket;
     25} }
    2826
    29 class Socket_impl {
     27class UdpSocket_impl {
    3028public:
    31   Socket_impl(const flair::core::Socket *self, std::string name,
     29  UdpSocket_impl(const flair::core::UdpSocket *self, std::string name,
    3230              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();
    3533
    3634  void SendMessage(std::string message);
     
    4543  bool broadcast;
    4644  void Init(void);
    47   const flair::core::Socket *self;
     45  const flair::core::UdpSocket *self;
    4846  struct sockaddr_in sock_in;
    4947#ifdef __XENO__
     
    5553};
    5654
    57 #endif // SOCKET_IMPL_H
     55#endif // UDPSOCKET_IMPL_H
Note: See TracChangeset for help on using the changeset viewer.