#ifndef _OWLPS_POSITIONING_OUTPUTSOCKET_HH_ #define _OWLPS_POSITIONING_OUTPUTSOCKET_HH_ #include "outputmedium.hh" #include #include // is not C++ 98 compliant //#include //#include /// Send a result to socket class OutputSocket: public OutputMedium { private: int socketDescriptor ; unsigned short int serverPort ; public: OutputSocket() {} void write(const Result &result) ; std::string float2string(float f) ; std::string uint2string(uint64_t f) ; std::string int2string(int f) ; void init_socket() ; void send_data(std::string msg) ; } ; #endif // _OWLPS_POSITIONING_OUTPUTSOCKET_HH_