Qt Virtual Chart Table (QVCT)
CDeviceDataSource Class Reference

Data source details [name,type]. More...

#include <devices/data/CDeviceDataSource.hpp>

Inheritance diagram for CDeviceDataSource:
CDeviceDataFix CDeviceDataSkyView CVesselPointDevice

Public Types

enum  EType { UNDEFINED , GPS , AIS , SBS }
 Data source type. More...
 

Public Member Functions

void setSourceType (EType _eType)
 Sets the source type. More...
 
QString getSourceName () const
 Returns the source name. More...
 
EType getSourceType () const
 Returns the source type. More...
 

Protected Member Functions

 CDeviceDataSource (const QString &_rqsName)
 
virtual ~CDeviceDataSource ()
 

Private Attributes

QString qsName
 Source name. More...
 
EType eType
 Source type. More...
 

Detailed Description

Data source details [name,type].

This class gathers all details of a generic navigational data source.

Author
Cedric Dufour http://cedric.dufour.name

Definition at line 28 of file CDeviceDataSource.hpp.

Member Enumeration Documentation

◆ EType

Data source type.

Enumerator
UNDEFINED 
GPS 
AIS 
SBS 

Definition at line 37 of file CDeviceDataSource.hpp.

Constructor & Destructor Documentation

◆ CDeviceDataSource()

CDeviceDataSource::CDeviceDataSource ( const QString &  _rqsName)
protected

Definition at line 30 of file CDeviceDataSource.cpp.

◆ ~CDeviceDataSource()

virtual CDeviceDataSource::~CDeviceDataSource ( )
inlineprotectedvirtual

Definition at line 59 of file CDeviceDataSource.hpp.

Member Function Documentation

◆ setSourceType()

void CDeviceDataSource::setSourceType ( EType  _eType)
inline

Sets the source type.

Definition at line 69 of file CDeviceDataSource.hpp.

◆ getSourceName()

QString CDeviceDataSource::getSourceName ( ) const
inline

Returns the source name.

Definition at line 74 of file CDeviceDataSource.hpp.

◆ getSourceType()

EType CDeviceDataSource::getSourceType ( ) const
inline

Returns the source type.

Definition at line 76 of file CDeviceDataSource.hpp.

Member Data Documentation

◆ qsName

QString CDeviceDataSource::qsName
private

Source name.

See also
getName()

Definition at line 47 of file CDeviceDataSource.hpp.

◆ eType

EType CDeviceDataSource::eType
private

Source type.

See also
setType(), getType()

Definition at line 50 of file CDeviceDataSource.hpp.


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