26#ifndef _COMMDRIVERN0183SERIAL_H
27#define _COMMDRIVERN0183SERIAL_H
33#include "comm_drv_n0183.h"
34#include "conn_params.h"
58 void SetSecThreadActive(
void) { m_bsec_thread_active =
true; }
59 void SetSecThreadInActive(
void) { m_bsec_thread_active =
false; }
60 bool IsSecThreadActive()
const {
return m_bsec_thread_active; }
63 m_pSecondary_Thread = secondary_Thread;
66 return m_pSecondary_Thread;
68 void SetThreadRunFlag(
int run) { m_Thread_run_flag = run; }
70 int m_Thread_run_flag;
74 bool SendMessage(std::shared_ptr<const NavMsg> msg,
75 std::shared_ptr<const NavAddr> addr)
override;
79 std::string m_portstring;
80 std::string m_BaudRate;
84 bool m_bsec_thread_active;
Internal event worker thread -> driver main code.
Driver for NMEA0183 over serial connections.
void Activate() override
Register driver and possibly do other post-ctor steps.
Abstract NMEA0183 drivers common parts.
Interface implemented by transport layer and possible other parties like test code which should handl...