libdrmconf  0.12.0
A library to program DMR radios.
Public Member Functions | List of all members
DMR6X2UVLimits Class Reference

Implements the limits for the BTECH DMR-6X2UV. More...

#include <dmr6x2uv_limits.hh>

Inheritance diagram for DMR6X2UVLimits:
Inheritance graph
[legend]
Collaboration diagram for DMR6X2UVLimits:
Collaboration graph
[legend]

Public Member Functions

 DMR6X2UVLimits (const std::initializer_list< std::pair< Frequency, Frequency > > &rxFreqRanges, const std::initializer_list< std::pair< Frequency, Frequency > > &txFreqRanges, const QString &hardwareRevision, QObject *parent=nullptr)
 Constructor. More...
 
- Public Member Functions inherited from AnytoneLimits
bool verifyConfig (const Config *config, RadioLimitContext &context) const
 Verifies the given configuration.
 
- Public Member Functions inherited from RadioLimits
 RadioLimits (bool betaWarning, QObject *parent=nullptr)
 Empty constructor.
 
 RadioLimits (const std::initializer_list< std::pair< QString, RadioLimitElement * > > &list, QObject *parent=nullptr)
 Constructor from initializer list.
 
bool hasCallSignDB () const
 Returns true if the radio supports a call-sign DB.
 
bool callSignDBImplemented () const
 Returns true if the call-sign DB is implemented.
 
unsigned numCallSignDBEntries () const
 Returns the maximum number of entries in the call-sign DB.
 
- Public Member Functions inherited from RadioLimitItem
 RadioLimitItem (QObject *parent=nullptr)
 Empty constructor.
 
 RadioLimitItem (const PropList &list, QObject *parent=nullptr)
 Constructor from initializer list. More...
 
bool add (const QString &prop, RadioLimitElement *structure)
 Adds a property declaration. More...
 
virtual bool verify (const ConfigItem *item, const QMetaProperty &prop, RadioLimitContext &context) const
 Verifies the given property of the specified item. More...
 
virtual bool verifyItem (const ConfigItem *item, RadioLimitContext &context) const
 Verifies the properties of the given item.
 
- Public Member Functions inherited from RadioLimitElement
virtual ~RadioLimitElement ()
 Destructor.
 

Additional Inherited Members

- Public Types inherited from RadioLimitElement
typedef std::initializer_list< std::pair< QString, RadioLimitElement * > > PropList
 Initializer lists of ConfigItem properties.
 
- Protected Member Functions inherited from AnytoneLimits
 AnytoneLimits (const QString &hardwareRevision, const QString &supportedRevision, bool betaWarning, QObject *parent=nullptr)
 Constructor. More...
 
- Protected Member Functions inherited from RadioLimitElement
 RadioLimitElement (QObject *parent=nullptr)
 Hidden constructor.
 
- Protected Attributes inherited from AnytoneLimits
QString _hardwareRevision
 Holds the hardware revision of the radio.
 
QString _supportedRevision
 Holds the supported hardware revision of the radio.
 
- Protected Attributes inherited from RadioLimits
bool _betaWarning
 If true, a warning is issued that the radio is still under development and not well tested yet.
 
bool _hasCallSignDB
 If true, the radio supports a call-sign DB.
 
bool _callSignDBImplemented
 If true, the call-sign is implemented.
 
unsigned _numCallSignDBEntries
 Holds the number of possible call-sign DB entries.
 
- Protected Attributes inherited from RadioLimitItem
QHash< QString, RadioLimitElement * > _elements
 Holds the property <-> limits map.
 

Detailed Description

Implements the limits for the BTECH DMR-6X2UV.

Constructor & Destructor Documentation

◆ DMR6X2UVLimits()

DMR6X2UVLimits::DMR6X2UVLimits ( const std::initializer_list< std::pair< Frequency, Frequency > > &  rxFreqRanges,
const std::initializer_list< std::pair< Frequency, Frequency > > &  txFreqRanges,
const QString &  hardwareRevision,
QObject *  parent = nullptr 
)

Constructor.

Todo:
extend APRSSystem to expose other settings as properties.

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