Changeset 178 in flair-src for trunk/lib/FlairCore/src/UdpSocket.h


Ignore:
Timestamp:
05/19/17 16:15:52 (7 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/UdpSocket.h

    r177 r178  
    1111 */
    1212
    13 #ifndef SOCKET_H
    14 #define SOCKET_H
     13#ifndef UDPSOCKET_H
     14#define UDPSOCKET_H
    1515
    1616#include <unistd.h>
     
    1818#include <Object.h>
    1919
    20 class Socket_impl;
     20class UdpSocket_impl;
    2121
    2222namespace flair {
    2323namespace core {
    2424
    25 /*! \class Socket
     25/*! \class UdpSocket
    2626*
    2727* \brief Class encapsulating a UDP socket. It assumes packets are coming from
     
    2929*
    3030*/
    31 class Socket : public Object {
     31class UdpSocket : public Object {
    3232public:
    3333  /*!
     
    4141  * \param broadcast true if address is a broadcast address
    4242  */
    43   Socket(const Object *parent, std::string name, std::string address,
     43  UdpSocket(const Object *parent, std::string name, std::string address,
    4444         bool broadcast = false);
    4545
     
    5353  * \param port listening port
    5454  */
    55   Socket(const Object *parent, std::string name, uint16_t port);
     55  UdpSocket(const Object *parent, std::string name, uint16_t port);
    5656
    5757  /*!
     
    5959  *
    6060  */
    61   ~Socket();
     61  ~UdpSocket();
    6262
    6363  /*!
     
    103103
    104104private:
    105   class Socket_impl *pimpl_;
     105  class UdpSocket_impl *pimpl_;
    106106};
    107107
     
    109109} // end namespace flair
    110110
    111 #endif // SOCKET_H
     111#endif // UDPSOCKET_H
Note: See TracChangeset for help on using the changeset viewer.