Go to the documentation of this file.
10 #ifndef CNTRIPClient_H
11 #define CNTRIPClient_H
102 :
server(
"www.euref-ip.net"),
bool m_waiting_answer_connection
A client for NTRIP (HTTP) sources of differential GPS corrections from internet servers,...
static bool retrieveListOfMountpoints(TListMountPoints &out_list, std::string &out_errmsg, const std::string &server, int port=2101, const std::string &auth_user=std::string(), const std::string &auth_pass=std::string())
Connect to a given NTRIP caster and get the list of all available mountpoints and their parameters.
bool m_thread_do_process
Will be "true" between "open" and "close".
std::string generator_model
std::string mountpoint_name
void private_ntrip_thread()
The working thread.
mrpt::containers::MT_buffer stream_data
The buffer with all the bytes so-far read from the NTRIP server stream.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
std::string compr_encryp
"none"
The arguments for connecting to a NTRIP stream, used in CNTRIPClient::open.
std::string format
RTCM 2.3, RTCM 3, CMR+, etc...
std::string network
IGS, ...
bool open(const NTRIPArgs ¶ms, std::string &out_errmsg)
Tries to open a given NTRIP stream and, if successful, launches a thread for continuously reading fro...
std::string country_code
ITA, ESP, DEU,...
NTRIPArgs m_args
All the parameters for the NTRIP connection.
int carrier
0: No carrier phase, 1: L1, 2: L1+L2
GLsizei GLsizei GLenum GLenum const GLvoid * data
std::promise< void > m_sem_first_connect_done
virtual ~CNTRIPClient()
Default destructor.
mrpt::containers::MT_buffer m_upload_data
Buffer for data to be sent back to the server.
TConnResult m_answer_connection
void close()
Closes the connection.
std::string format_details
std::string nav_system
GPS, ...
std::promise< void > m_sem_sock_closed
This class is a bulk sequence of bytes with MultiThread (MT)-safe read and write operations.
GLsizei const GLchar ** string
char authentication
"N": none, "B": basic, "D": digest
NTRIPArgs()
Default params.
GLenum const GLfloat * params
A descriptor of one stream in an NTRIP Caster - See CNTRIPClient::retrieveListOfMountpoints.
void sendBackToServer(const std::string &data)
Enqueues a string to be sent back to the NTRIP server (e.g.
CNTRIPClient()
Default constructor.
std::list< TMountPoint > TListMountPoints
Used in CNTRIPClient::retrieveListOfMountpoints.
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |