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