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

#include <OsmParserThread.h>

Inheritance diagram for OsmParserThread:
Collaboration diagram for OsmParserThread:

Classes

struct  BuildingType_t

Signals

void fileParsed (bool isValid)
void startThread (const QString &filePath)

Public Member Functions

 OsmParserThread (QObject *parent=nullptr)
 ~OsmParserThread ()
void start (const QString &filePath)
const QGeoCoordinate & gpsRefPoint () const
const QMap< uint64_t, QGeoCoordinate > & mapNodes () const
const QMap< uint64_t, BuildingType_t > & mapBuildings () const
const QGeoCoordinate & coordinateMin () const
const QGeoCoordinate & coordinateMax () const

Friends

class OsmParserThreadTest

Detailed Description

Definition at line 14 of file OsmParserThread.h.

Constructor & Destructor Documentation

◆ OsmParserThread()

OsmParserThread::OsmParserThread ( QObject * parent = nullptr)
explicit

Definition at line 218 of file OsmParserThread.cc.

References startThread().

◆ ~OsmParserThread()

OsmParserThread::~OsmParserThread ( )

Definition at line 228 of file OsmParserThread.cc.

Member Function Documentation

◆ coordinateMax()

const QGeoCoordinate & OsmParserThread::coordinateMax ( ) const
inline

Definition at line 45 of file OsmParserThread.h.

◆ coordinateMin()

const QGeoCoordinate & OsmParserThread::coordinateMin ( ) const
inline

Definition at line 44 of file OsmParserThread.h.

◆ fileParsed

void OsmParserThread::fileParsed ( bool isValid)
signal

◆ gpsRefPoint()

const QGeoCoordinate & OsmParserThread::gpsRefPoint ( ) const
inline

Definition at line 41 of file OsmParserThread.h.

◆ mapBuildings()

const QMap< uint64_t, BuildingType_t > & OsmParserThread::mapBuildings ( ) const
inline

Definition at line 43 of file OsmParserThread.h.

◆ mapNodes()

const QMap< uint64_t, QGeoCoordinate > & OsmParserThread::mapNodes ( ) const
inline

Definition at line 42 of file OsmParserThread.h.

◆ start()

void OsmParserThread::start ( const QString & filePath)

Definition at line 235 of file OsmParserThread.cc.

References startThread().

◆ startThread

void OsmParserThread::startThread ( const QString & filePath)
signal

Referenced by OsmParserThread(), and start().

◆ OsmParserThreadTest

friend class OsmParserThreadTest
friend

Definition at line 18 of file OsmParserThread.h.

References OsmParserThreadTest.

Referenced by OsmParserThreadTest.


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