Changeset 77 in pacpussensors for trunk/Gps/gpsComponent.cpp


Ignore:
Timestamp:
Mar 23, 2015, 11:54:48 AM (10 years ago)
Author:
DHERBOMEZ Gérald
Message:

Deletion of useless code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gps/gpsComponent.cpp

    r72 r77  
    1313#include "Pacpus/kernel/ComponentFactory.h"
    1414#include "Pacpus/kernel/Log.h"
    15 // Pour Mobivip - Pour le stage de Pierre-Michel
    16 #include "Pacpus/PacpusTools/transf_lamb_93.h"
    17 //#include "Positioningprovider/gps_transmis.h"
    1815#include "Pacpus/kernel/DbiteFileTypes.h"
    1916
     
    4037   
    4138{   
    42   //socketServerEnabled = FALSE;
    43   //serverSocket = NULL;
    44 
    45 // tcpServer_ = NULL;
    4639 
    4740  ppsRecording = TRUE;
     
    8376{
    8477
    85   /* Qt3 version - 17/12/2007
    86   delete serverSocket;
    87   serverSocket = NULL;
    88   */
    8978}
    9079
     
    9584  setRecording ((config.getProperty("recording") == "true" ? true : false));
    9685
    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 
    10186  return ComponentBase::CONFIGURED_OK;
    10287}
     
    11196void GpsComponent::enableSocketServer(int /*portNumber*/)
    11297{
    113   /* Qt3 version - 17/12/2007
    114   socketServerEnabled = TRUE;
    115   if (serverSocket == NULL)
    116     serverSocket = new GpsServerSocket(portNumber);
    117     */
     98
    11899}
    119100
     
    121102void GpsComponent::disableSocketServer()
    122103{
    123   /* Qt3 version - 17/12/2007
    124   if (serverSocket != NULL)
    125   {
    126     delete serverSocket;
    127     serverSocket = NULL;
    128   }
    129   socketServerEnabled = FALSE;
    130   */
     104
    131105}
    132106
Note: See TracChangeset for help on using the changeset viewer.