Go to the documentation of this file.
9 #ifndef CNTRIPEmitter_H
10 #define CNTRIPEmitter_H
This "virtual driver" encapsulates a NTRIP client (see CNTRIPClient) but adds the functionality of du...
CNTRIPClient & getNTRIPClient()
Exposes the NTRIP client object.
A client for NTRIP (HTTP) sources of differential GPS corrections from internet servers,...
std::string m_raw_output_file_prefix
A high-performance stopwatch, with typical resolution of nanoseconds.
A communications serial port built as an implementation of a utils::CStream.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
void loadConfig_sensorSpecific(const mrpt::config::CConfigFileBase &configSource, const std::string &iniSection)
See the class documentation at the top for expected parameters.
#define DEFINE_GENERIC_SENSOR(class_name)
This declaration must be inserted in all CGenericSensor classes definition, within the class declarat...
CNTRIPClient m_client
The NTRIP comms object.
The arguments for connecting to a NTRIP stream, used in CNTRIPClient::open.
CNTRIPClient::NTRIPArgs m_ntrip_args
This class allows loading and storing values and vectors of different types from a configuration text...
std::ofstream m_raw_output_file_stream
std::string getOutputSerialPort() const
std::string getRawOutputFilePrefix() const
mrpt::comms::CSerialPort m_out_COM
The output serial port.
A generic interface for a wide-variety of sensors designed to be used in the application RawLogGrabbe...
mrpt::system::CTicTac m_rate_timer
void setRawOutputFilePrefix(const std::string &outfile)
CNTRIPEmitter()
Constructor
const CNTRIPClient & getNTRIPClient() const
Exposes the NTRIP client object.
void initialize()
Set up the NTRIP communications, raising an exception on fatal errors.
GLsizei const GLchar ** string
void doProcess()
The main loop, which must be called in a timely fashion in order to process the incomming NTRIP data ...
virtual ~CNTRIPEmitter()
Destructor
std::string m_com_port
If set to non-empty, the serial port will be attempted to be opened automatically when this class is ...
bool m_transmit_to_server
void setOutputSerialPort(const std::string &port)
Changes the serial port to connect to (call prior to 'doProcess'), for example "COM1" or "ttyS0".
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 | |