10 #ifndef CNTRIPClient_H 11 #define CNTRIPClient_H 67 net_ref_stations(false),
89 server (
"www.euref-ip.net" ),
99 void private_ntrip_thread();
129 bool open(
const NTRIPArgs ¶ms, std::string &out_errmsg);
154 static bool retrieveListOfMountpoints(
156 std::string &out_errmsg,
157 const std::string &server,
159 const std::string &auth_user = std::string(),
160 const std::string &auth_pass = std::string()
164 void sendBackToServer(
const std::string &data);
bool m_waiting_answer_connection
std::list< TMountPoint > TListMountPoints
Used in CNTRIPClient::retrieveListOfMountpoints.
std::string generator_model
std::string mountpoint_name
NTRIPArgs()
Default params.
This class is a bulk sequence of bytes with MultiThread (MT)-safe read and write operations.
std::string compr_encryp
"none"
A client for NTRIP (HTTP) sources of differential GPS corrections from internet servers,...
std::string network
IGS, ...
A descriptor of one stream in an NTRIP Caster - See CNTRIPClient::retrieveListOfMountpoints.
mrpt::synch::MT_buffer m_upload_data
Buffer for data to be sent back to the server.
mrpt::system::TThreadHandle m_thread
std::string format
RTCM 2.3, RTCM 3, CMR+, etc...
NTRIPArgs m_args
All the parameters for the NTRIP connection.
std::string country_code
ITA, ESP, DEU,...
int carrier
0: No carrier phase, 1: L1, 2: L1+L2
bool m_thread_do_process
Will be "true" between "open" and "close".
std::string nav_system
GPS, ...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
std::string format_details
TConnResult m_answer_connection
This structure contains the information needed to interface the threads API on each platform:
mrpt::synch::CSemaphore m_sem_first_connect_done
mrpt::synch::MT_buffer stream_data
The buffer with all the bytes so-far read from the NTRIP server stream.
mrpt::synch::CSemaphore m_sem_sock_closed
char authentication
"N": none, "B": basic, "D": digest
A semaphore for inter-thread synchronization.
The arguments for connecting to a NTRIP stream, used in CNTRIPClient::open.