QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
NTRIPSourceTableFetcher Class Reference

#include <NTRIPSourceTable.h>

+ Inheritance diagram for NTRIPSourceTableFetcher:
+ Collaboration diagram for NTRIPSourceTableFetcher:

Signals

void sourceTableReceived (const QString &table)
 
void error (const QString &errorMsg)
 
void finished ()
 

Public Member Functions

 NTRIPSourceTableFetcher (const QString &host, int port, const QString &username, const QString &password, bool useTls=false, QObject *parent=nullptr)
 
 ~NTRIPSourceTableFetcher () override=default
 
void fetch ()
 

Static Public Attributes

static constexpr int kFetchTimeoutMs = 10000
 

Detailed Description

Definition at line 113 of file NTRIPSourceTable.h.

Constructor & Destructor Documentation

◆ NTRIPSourceTableFetcher()

NTRIPSourceTableFetcher::NTRIPSourceTableFetcher ( const QString &  host,
int  port,
const QString &  username,
const QString &  password,
bool  useTls = false,
QObject *  parent = nullptr 
)

Definition at line 136 of file NTRIPSourceTable.cc.

References QGCNetworkHelper::createNetworkManager().

◆ ~NTRIPSourceTableFetcher()

NTRIPSourceTableFetcher::~NTRIPSourceTableFetcher ( )
overridedefault

Member Function Documentation

◆ error

void NTRIPSourceTableFetcher::error ( const QString &  errorMsg)
signal

◆ fetch()

◆ finished

void NTRIPSourceTableFetcher::finished ( )
signal

◆ sourceTableReceived

void NTRIPSourceTableFetcher::sourceTableReceived ( const QString &  table)
signal

Member Data Documentation

◆ kFetchTimeoutMs

constexpr int NTRIPSourceTableFetcher::kFetchTimeoutMs = 10000
staticconstexpr

Definition at line 118 of file NTRIPSourceTable.h.

Referenced by fetch().


The documentation for this class was generated from the following files: