libdrmconf  0.11.0
A library to program DMR radios.
Classes | Public Member Functions | List of all members
D868UVFileReader Class Reference

Reads manufacturer CPS files. More...

#include <d868uv_filereader.hh>

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

Classes

class  AnalogContactElement
 Represents an analog contact within the manufacturer CPS file. More...
 
class  ChannelElement
 Representsa a channel encoded in the manufacturer CPS file. More...
 
class  RadioIDElement
 Decodes a radio ID from the manufacturer CPS file. More...
 
class  ScanListElement
 Represents a scan list in the manufacturer CPS file. More...
 
class  ZoneElement
 Represents a zone within the manufacturer CPS file. More...
 

Public Member Functions

 D868UVFileReader (Config *config, const uint8_t *data, size_t size, QString &message)
 Constructs a file reader for the given manufacturer CPS file (data, size).
 
bool linkHeader ()
 Link elements.
 
bool readHeader ()
 Read header of file.
 
bool readChannels ()
 Read all channels.
 
virtual bool readChannel ()
 Reads a channel.
 
bool linkChannels ()
 Link elements.
 
virtual bool linkChannel ()
 Links a channel.
 
bool readRadioIDs ()
 Read all radio IDs.
 
virtual bool readRadioID ()
 Reads a radio ID.
 
bool linkRadioIDs ()
 Link elements.
 
bool readZones ()
 Read all zones.
 
virtual bool readZone ()
 Reads a zone.
 
bool linkZones ()
 Link elements.
 
bool readScanLists ()
 Read all scal lists.
 
virtual bool readScanList ()
 Reads a scan list.
 
bool linkScanLists ()
 Link elements.
 
bool readAnalogContacts ()
 Read all DTMF contacts.
 
virtual bool readAnalogContact ()
 Reads an analog contact.
 
bool linkAnalogContacts ()
 Link elements.
 
- Public Member Functions inherited from AnytoneFileReader
virtual ~AnytoneFileReader ()
 Destructor.
 

Additional Inherited Members

- Static Public Member Functions inherited from AnytoneFileReader
static bool read (const QString &filename, Config *config, QString &message)
 Use this static function to read a codeplug from the manufacturer CPS file.
 
- Protected Member Functions inherited from AnytoneFileReader
 AnytoneFileReader (Config *config, const uint8_t *data, size_t size, QString &message)
 Constructs a configuration from the given codeplug file in memory (data, size).
 
virtual bool read ()
 Read all elements.
 
- Protected Attributes inherited from AnytoneFileReader
const uint8_t *const _start
 Pointer to the start.
 
const uint8_t * _data
 Pointer to the entire data.
 
size_t _size
 Size of the entire blob.
 
QString & _message
 Error message.
 

Detailed Description

Reads manufacturer CPS files.

Warning
This is mostly incomplete.

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