Changeset 42 in pacpussensors for trunk/Sick/SickSocket.cpp


Ignore:
Timestamp:
Apr 1, 2014, 2:47:39 PM (11 years ago)
Author:
cfougera
Message:

Last version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Sick/SickSocket.cpp

    r37 r42  
    2323DECLARE_STATIC_LOGGER("pacpus.base.SickSocket");
    2424
    25 //////////////////////////////////////////////////////////////////////////
    26 /// Constructor
     25
    2726SickSocket::SickSocket(AbstractSickSensor * parent)
    2827    : myParent(parent)
     
    3635
    3736
    38 //////////////////////////////////////////////////////////////////////////
    39 /// Destructor
    4037SickSocket::~SickSocket()
    4138{
     
    4340}
    4441
    45 //////////////////////////////////////////////////////////////////////////
    46 /// public slot
    47 /// connection to server
     42
    4843void SickSocket::connectToServer(QString host, int port)
    4944{
     
    5247}
    5348
    54 //////////////////////////////////////////////////////////////////////////
    55 /// protected slot
     49
    5650int SickSocket::socketConnected()
    5751{
     
    7064}
    7165
    72 //////////////////////////////////////////////////////////////////////////
    73 /// protected slot
    74 /// new incoming data to read
     66
    7567void SickSocket::socketReadyRead()
    7668{   
     
    9486}
    9587
    96 //////////////////////////////////////////////////////////////////////////
    97 /// protected slot
     88
    9889void SickSocket::socketError(QAbstractSocket::SocketError e)
    9990{
     
    10192}
    10293
    103 //////////////////////////////////////////////////////////////////////////
    104 /// Send data to server via a text stream
     94
    10595void SickSocket::sendToServer(QString data) //a adapter aux données binaires
    10696{
Note: See TracChangeset for help on using the changeset viewer.