This class is the core of PetitPoucet and stores the server as private member as well as methods for creation of server and solution reading.  
 More...
#include <ServerInterface.hh>
 | 
|   | ~PPServer () | 
|   | 
| void  | GetServerStatus (int *stat, int *log_stat, int *byte, int *bps, std::string *stringMessage) | 
|   | Gets the status of the server and stores it in pointers given as parameters.  
  | 
|   | 
| void  | GetCurrentSolution (long double &longitude, long double &latitude, long double &altitude, int &signalToNoiseRatio, int &timeStamp, CoordinateSystem coordinateSystem, double &horizontalDilutionOfPrecision, std::string &fixQuality) | 
|   | 
This class is the core of PetitPoucet and stores the server as private member as well as methods for creation of server and solution reading. 
 
◆ ~PPServer()
  
  
      
        
          | petitpoucet::serverinterface::PPServer::~PPServer  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ GetCurrentSolution()
      
        
          | void petitpoucet::serverinterface::PPServer::GetCurrentSolution  | 
          ( | 
          long double &  | 
          longitude,  | 
        
        
           | 
           | 
          long double &  | 
          latitude,  | 
        
        
           | 
           | 
          long double &  | 
          altitude,  | 
        
        
           | 
           | 
          int &  | 
          signalToNoiseRatio,  | 
        
        
           | 
           | 
          int &  | 
          timeStamp,  | 
        
        
           | 
           | 
          CoordinateSystem  | 
          coordinateSystem,  | 
        
        
           | 
           | 
          double &  | 
          horizontalDilutionOfPrecision,  | 
        
        
           | 
           | 
          std::string &  | 
          fixQuality  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ GetServerStatus()
      
        
          | void petitpoucet::serverinterface::PPServer::GetServerStatus  | 
          ( | 
          int *  | 
          stat,  | 
        
        
           | 
           | 
          int *  | 
          log_stat,  | 
        
        
           | 
           | 
          int *  | 
          byte,  | 
        
        
           | 
           | 
          int *  | 
          bps,  | 
        
        
           | 
           | 
          std::string *  | 
          stringMessage  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Gets the status of the server and stores it in pointers given as parameters. 
 
 
◆ SetupCorrectedReaderServer()
  
  
      
        
          | static PPServer petitpoucet::serverinterface::PPServer::SetupCorrectedReaderServer  | 
          ( | 
          std::string *  | 
          casterName,  | 
         
        
           | 
           | 
          std::string *  | 
          serialPortName,  | 
         
        
           | 
           | 
          PPServerOptions  | 
          options  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
Sets a server up for correcting and reading corrected data. 
 
 
◆ SetupCorrectionServer()
  
  
      
        
          | PPServer petitpoucet::serverinterface::PPServer::SetupCorrectionServer  | 
          ( | 
          std::string *  | 
          casterName,  | 
         
        
           | 
           | 
          std::string *  | 
          serialPortName,  | 
         
        
           | 
           | 
          PPServerOptions  | 
          options  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
Sets a server up to send correction data to an RTK reciever, and returns it as a Server object. 
- Parameters
 - 
  
    | std::string* | casterName the pointer to the name of the caster we use for the RTK  | 
    | std::string* | serialPortName the pointer to the name of the serial port where the RTK reciever is connected  | 
    | PPServerOptions | options The options for the server  | 
  
   
- Returns
 - PPServer a running server that sends the correction data to the reciever 
 
 
 
◆ SetupReaderServer()
  
  
      
        
          | PPServer petitpoucet::serverinterface::PPServer::SetupReaderServer  | 
          ( | 
          std::string *  | 
          serialPortName,  | 
         
        
           | 
           | 
          PPServerOptions  | 
          options  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
Sets a server up to listen to an RTK reciever, and returns it as a Server object. 
- Parameters
 - 
  
    | std::string* | serialPortName the pointer to the name of the serial port where the RTK reciever is connected  | 
    | PPServerOptions | options The options for the server  | 
  
   
- Returns
 - PPServer a running server that reads the data from the reciever 
 
 
 
The documentation for this class was generated from the following files: