- Timestamp:
- Mar 23, 2015, 11:54:48 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Gps/gpsComponent.cpp
r72 r77 13 13 #include "Pacpus/kernel/ComponentFactory.h" 14 14 #include "Pacpus/kernel/Log.h" 15 // Pour Mobivip - Pour le stage de Pierre-Michel16 #include "Pacpus/PacpusTools/transf_lamb_93.h"17 //#include "Positioningprovider/gps_transmis.h"18 15 #include "Pacpus/kernel/DbiteFileTypes.h" 19 16 … … 40 37 41 38 { 42 //socketServerEnabled = FALSE;43 //serverSocket = NULL;44 45 // tcpServer_ = NULL;46 39 47 40 ppsRecording = TRUE; … … 83 76 { 84 77 85 /* Qt3 version - 17/12/200786 delete serverSocket;87 serverSocket = NULL;88 */89 78 } 90 79 … … 95 84 setRecording ((config.getProperty("recording") == "true" ? true : false)); 96 85 97 // tcpServer_ = (SensorTcpServer*)ComponentManager::create()->getComponent("cvisServer");98 // if (!tcpServer_)99 // qDebug() << name() << " cvisServer is not present, data won't be sent on the network";100 101 86 return ComponentBase::CONFIGURED_OK; 102 87 } … … 111 96 void GpsComponent::enableSocketServer(int /*portNumber*/) 112 97 { 113 /* Qt3 version - 17/12/2007 114 socketServerEnabled = TRUE; 115 if (serverSocket == NULL) 116 serverSocket = new GpsServerSocket(portNumber); 117 */ 98 118 99 } 119 100 … … 121 102 void GpsComponent::disableSocketServer() 122 103 { 123 /* Qt3 version - 17/12/2007 124 if (serverSocket != NULL) 125 { 126 delete serverSocket; 127 serverSocket = NULL; 128 } 129 socketServerEnabled = FALSE; 130 */ 104 131 105 } 132 106
Note:
See TracChangeset
for help on using the changeset viewer.