11#include "../Utils/Utils.hh" 
   36            void ReadConfigFile(std::string configFileName, std::string *casterName, std::string *serialPortName);
 
 
   81                                    this->relayBackToOutputstream};
 
 
 
  102        inline static strsvr_t RTKLIBStreamServer;
 
  109        void ReadGNGGASolution(
long double &longitude, 
long double &latitude, 
long double &altitude, 
int &signalToNoiseRatio, 
double &horizontalDilutionOfPrecision, std::string &fixQuality, 
int &timeStamp);
 
  113        void ReadGNRMCSolution(
long double &longitude, 
long double &latitude, 
long double &altitude, 
int &signalToNoiseRatio, 
double &horizontalDilutionOfPrecision, std::string &fixQuality, 
int &timeStamp);
 
  140        void GetServerStatus(
int *stat, 
int *log_stat, 
int *
byte, 
int *bps, std::string *stringMessage);
 
  142        void GetCurrentSolution(
long double &longitude, 
long double &latitude, 
long double &altitude, 
int &signalToNoiseRatio, 
int &timeStamp, 
CoordinateSystem coordinateSystem, 
double &horizontalDilutionOfPrecision, std::string &fixQuality);
 
 
This class stores the method for reading the configuration file.
Definition ServerInterface.hh:22
 
void ReadConfigFile(std::string configFileName, std::string *casterName, std::string *serialPortName)
Reads a configuration files and attibutes values to a caster name and a serial port name.
Definition ServerInterface.cc:5
 
~ConfigurationSetup()=default
 
ConfigurationSetup()
Definition ServerInterface.hh:25
 
This class stores the options for the PPServer when setup by PPServerInterface::SetupServer.
Definition ServerInterface.hh:53
 
int averagingTimeOfDataRate
Definition ServerInterface.hh:63
 
int inactiveTimeout
Definition ServerInterface.hh:61
 
int serverCycle
Definition ServerInterface.hh:65
 
int relayBackToOutputstream
Definition ServerInterface.hh:68
 
int fileSwapMargin
Definition ServerInterface.hh:67
 
int intervalToReconnect
Definition ServerInterface.hh:62
 
int bufferSize
Definition ServerInterface.hh:64
 
~PPServerOptions()
Definition ServerInterface.hh:57
 
int NMEARequestCycle
Definition ServerInterface.hh:66
 
int * ToIntegers()
Definition ServerInterface.hh:72
 
PPServerOptions()
Definition ServerInterface.hh:56
 
This class is the core of PetitPoucet and stores the server as private member as well as methods for ...
Definition ServerInterface.hh:90
 
static PPServer SetupCorrectionServer(std::string *casterName, std::string *serialPortName, PPServerOptions options)
Sets a server up to send correction data to an RTK reciever, and returns it as a Server object.
Definition ServerInterface.cc:114
 
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.
Definition ServerInterface.cc:210
 
static PPServer SetupReaderServer(std::string *serialPortName, PPServerOptions options)
Sets a server up to listen to an RTK reciever, and returns it as a Server object.
Definition ServerInterface.cc:163
 
void GetCurrentSolution(long double &longitude, long double &latitude, long double &altitude, int &signalToNoiseRatio, int &timeStamp, CoordinateSystem coordinateSystem, double &horizontalDilutionOfPrecision, std::string &fixQuality)
Definition ServerInterface.cc:217
 
static PPServer SetupCorrectedReaderServer(std::string *casterName, std::string *serialPortName, PPServerOptions options)
Sets a server up for correcting and reading corrected data.
 
~PPServer()
Definition ServerInterface.hh:95
 
Namespace for the server interface.
Definition ServerInterface.cc:4
 
CoordinateSystem
Enum for the different coordinate systems. Destined to be expanded.
Definition ServerInterface.hh:44
 
@ WGSDecimals
Definition ServerInterface.hh:46
 
@ WGSDegrees
Definition ServerInterface.hh:45