19 #ifndef QVCT_CDEVICEDRIVER_HPP
20 #define QVCT_CDEVICEDRIVER_HPP
63 static const QMap<EDriver,QString> &
names();
69 static const QMap<EDriver,QString> &
codes();
Container class for supported machine-friendly device driver codes.
QMap< CDeviceDriver::EDriver, QString > qMapCodes
Container class for supported human-readable device driver names.
QMap< CDeviceDriver::EDriver, QString > qMapNames
Device driver inventory and instantiation class.
static const CDeviceDriverCodes oDeviceDriverCodes
Container for supported machine-friendly device driver codes.
static EDriver fromName(const QString &_rqsName)
Returns the device driver ID corresponding to the given human-readable name.
static const QMap< EDriver, QString > & codes()
Returns the list of supported machine-friendly device driver codes.
static const QMap< EDriver, QString > & names()
Returns the list of supported human-readable device driver names.
@ GPSD_AIS
GPSD daemon (AIS mode)
@ GPSD_GPS
GPSD daemon (GPS mode)
@ UNDEFINED
Undefined driver.
@ TCP_SBS1
TCP socket, SBS-1 protocol.
static CDevice * createDevice(const QString &_rqsDeviceName, EDriver _eDriver)
Create a new device based on the specified driver.
static QString toName(EDriver _eDriver)
Returns the human-readable name corresponding to the given device driver ID.
static QString toCode(EDriver _eDriver)
Returns the machine-friendly code corresponding to the given device driver ID.
static EDriver fromCode(const QString &_rqsCode)
Returns the device driver ID corresponding to the given machine-friendly code.
static const CDeviceDriverNames oDeviceDriverNames
Container for supported human-readable device driver names.
Generic navigation device (GPS, speedometer, compass, etc.)