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

Specialization for transmit frequency limits. More...

#include <radiolimits.hh>

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

Public Member Functions

 RadioLimitTransmitFrequencies (QObject *parent=nullptr)
 Empty constructor.
 
 RadioLimitTransmitFrequencies (const RangeList &ranges, QObject *parent=nullptr)
 Constructor from initializer list.
 
bool verify (const ConfigItem *item, const QMetaProperty &prop, RadioLimitContext &context) const
 Verifies the given property of the specified item. More...
 
- Public Member Functions inherited from RadioLimitFrequencies
 RadioLimitFrequencies (QObject *parent=nullptr)
 Empty constructor.
 
 RadioLimitFrequencies (const RangeList &ranges, bool warnOnly=false, QObject *parent=nullptr)
 Constructor from initializer list.
 
- Public Member Functions inherited from RadioLimitElement
virtual ~RadioLimitElement ()
 Destructor.
 

Additional Inherited Members

- Public Types inherited from RadioLimitFrequencies
typedef std::initializer_list< std::pair< double, double > > 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 (QObject *parent=nullptr)
 Hidden constructor.
 
- Protected Member Functions inherited from RadioLimitElement
 RadioLimitElement (QObject *parent=nullptr)
 Hidden constructor.
 
- Protected Attributes inherited from RadioLimitFrequencies
QList< FrequencyRange_frequencyRanges
 Holds the frequency ranges for the device.
 
bool _warnOnly
 If true, throw only a warning.
 

Detailed Description

Specialization for transmit frequency limits.

The verification is only performed if the channel is not "RX Only".

Member Function Documentation

◆ verify()

bool RadioLimitTransmitFrequencies::verify ( const ConfigItem item,
const QMetaProperty &  prop,
RadioLimitContext context 
) const
virtual

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: