libdrmconf 0.15.1
A library to program DMR radios.
Loading...
Searching...
No Matches
RadioLimitFrequencyRaster Class Reference

Specialization checking if frequencies lay on a fixed raster. More...

#include <radiolimits.hh>

Inheritance diagram for RadioLimitFrequencyRaster:
Collaboration diagram for RadioLimitFrequencyRaster:

Public Member Functions

 RadioLimitFrequencyRaster (RadioLimitIssue::Severity severity=RadioLimitIssue::Severity::Warning, QObject *parent=nullptr)
 Empty constructor.
 RadioLimitFrequencyRaster (const RangeList &ranges, const Frequency &raster, RadioLimitIssue::Severity severity=RadioLimitIssue::Severity::Warning, QObject *parent=nullptr)
 Constructor from initializer list.
bool verify (const ConfigItem *item, const QMetaProperty &prop, RadioLimitContext &context) const override
 Verifies the given property of the specified item.
Public Member Functions inherited from RadioLimitFrequencies
 RadioLimitFrequencies (RadioLimitIssue::Severity severity=RadioLimitIssue::Severity::Warning, QObject *parent=nullptr)
 Empty constructor.
 RadioLimitFrequencies (const RangeList &ranges, RadioLimitIssue::Severity severity=RadioLimitIssue::Severity::Warning, QObject *parent=nullptr)
 Constructor from initializer list.
Public Member Functions inherited from RadioLimitElement
virtual ~RadioLimitElement ()
 Destructor.

Protected Attributes

Frequency _raster
 Offset between channels.
Protected Attributes inherited from RadioLimitFrequencies
QList< FrequencyRange > _frequencyRanges
 Holds the frequency ranges for the device.
Protected Attributes inherited from RadioLimitValue
RadioLimitIssue::Severity _severity
 The severity of the issue, if the test fails.

Additional Inherited Members

Public Types inherited from RadioLimitFrequencies
typedef std::initializer_list< std::pair< Frequency, Frequency > > RangeList
 Typedef for the initializer list.
Public Types inherited from RadioLimitElement
typedef std::initializer_list< std::pair< QString, RadioLimitElement * > > PropList
 Initializer lists of ConfigItem properties.
Protected Member Functions inherited from RadioLimitValue
 RadioLimitValue (RadioLimitIssue::Severity severity=RadioLimitIssue::Severity::Hint, QObject *parent=nullptr)
 Hidden constructor.
Protected Member Functions inherited from RadioLimitElement
 RadioLimitElement (QObject *parent=nullptr)
 Hidden constructor.

Detailed Description

Specialization checking if frequencies lay on a fixed raster.

Member Function Documentation

◆ verify()

bool RadioLimitFrequencyRaster::verify ( const ConfigItem * item,
const QMetaProperty & prop,
RadioLimitContext & context ) const
overridevirtual

Verifies the given property of the specified item.

This method gets implemented by the specialized classes to implement the actual verification.

Reimplemented from RadioLimitFrequencies.


The documentation for this class was generated from the following files:
  • /builddir/build/BUILD/qdmr-0.15.1-build/qdmr-0.15.1/lib/radiolimits.hh
  • /builddir/build/BUILD/qdmr-0.15.1-build/qdmr-0.15.1/lib/radiolimits.cc