Changeset 42 in pacpussensors for trunk/Sick/SickSocket.cpp
- Timestamp:
- Apr 1, 2014, 2:47:39 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Sick/SickSocket.cpp
r37 r42 23 23 DECLARE_STATIC_LOGGER("pacpus.base.SickSocket"); 24 24 25 ////////////////////////////////////////////////////////////////////////// 26 /// Constructor 25 27 26 SickSocket::SickSocket(AbstractSickSensor * parent) 28 27 : myParent(parent) … … 36 35 37 36 38 //////////////////////////////////////////////////////////////////////////39 /// Destructor40 37 SickSocket::~SickSocket() 41 38 { … … 43 40 } 44 41 45 ////////////////////////////////////////////////////////////////////////// 46 /// public slot 47 /// connection to server 42 48 43 void SickSocket::connectToServer(QString host, int port) 49 44 { … … 52 47 } 53 48 54 ////////////////////////////////////////////////////////////////////////// 55 /// protected slot 49 56 50 int SickSocket::socketConnected() 57 51 { … … 70 64 } 71 65 72 ////////////////////////////////////////////////////////////////////////// 73 /// protected slot 74 /// new incoming data to read 66 75 67 void SickSocket::socketReadyRead() 76 68 { … … 94 86 } 95 87 96 ////////////////////////////////////////////////////////////////////////// 97 /// protected slot 88 98 89 void SickSocket::socketError(QAbstractSocket::SocketError e) 99 90 { … … 101 92 } 102 93 103 ////////////////////////////////////////////////////////////////////////// 104 /// Send data to server via a text stream 94 105 95 void SickSocket::sendToServer(QString data) //a adapter aux données binaires 106 96 {
Note:
See TracChangeset
for help on using the changeset viewer.