libdrmconf 0.12.1
A library to program DMR radios.
Loading...
Searching...
No Matches
D868UVFileReader::ChannelElement Class Reference

Representsa a channel encoded in the manufacturer CPS file. More...

#include <d868uv_filereader.hh>

Inheritance diagram for D868UVFileReader::ChannelElement:
Collaboration diagram for D868UVFileReader::ChannelElement:

Public Member Functions

 ChannelElement (const uint8_t *ptr)
 Constructor.
uint16_t index () const
 Returns the index of the channel.
D868UVCodeplug::channel_t::Mode mode () const
 Returns the channel mode (Analog, Digital, Mixed...).
double rxFrequency () const
 Return the RX frequency.
double txFrequency () const
 Return the TX frequency.
Channel::Power power () const
 Returns the power setting.
AnalogChannel::Bandwidth bandwidth () const
 Returns the bandwidth.
bool rxOnly () const
 Returns true if the channel is RX only.
Signaling::Code rxSignaling () const
 Returns the RX CTCSS/DCS settings.
Signaling::Code txSignaling () const
 Returns the TX CTCSS/DCS settings.
DigitalChannel::Admit admitDigital () const
 Returns the admit cirterion for the channel (if digital).
AnalogChannel::Admit admitAnalog () const
 Returns the admit cirterion for the channel (if analog).
uint8_t colorCode () const
 Returns the color code of the channel (if digital).
DigitalChannel::TimeSlot timeSlot () const
 Returns the time slot of the channel (if digital).
QString name () const
 Returns the name of the channel.
size_t size () const
 Returns the storage size of the element.
Public Member Functions inherited from AnytoneFileReader::Element
virtual ~Element ()
 Destructor.

Protected Attributes

size_t _nameLength
 The length of the name.
Protected Attributes inherited from AnytoneFileReader::Element
const uint8_t * _data
 Pointer to the actual element.

Additional Inherited Members

Protected Member Functions inherited from AnytoneFileReader::Element
 Element (const uint8_t *ptr)
 Hidden constructor.

Detailed Description

Representsa a channel encoded in the manufacturer CPS file.

Member Function Documentation

◆ rxSignaling()

Signaling::Code D868UVFileReader::ChannelElement::rxSignaling ( ) const

Returns the RX CTCSS/DCS settings.

Todo
Implement.

◆ size()

size_t D868UVFileReader::ChannelElement::size ( ) const
virtual

Returns the storage size of the element.

Implements AnytoneFileReader::Element.

◆ txSignaling()

Signaling::Code D868UVFileReader::ChannelElement::txSignaling ( ) const

Returns the TX CTCSS/DCS settings.

Todo
Implement.

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