libdrmconf 0.13.3
A library to program DMR radios.
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
CallsignDB::Flags Class Reference

Controls the selection of callsigns from the UserDatabase to be encoded into the callsign db. More...

#include <callsigndb.hh>

Inheritance diagram for CallsignDB::Flags:
Inheritance graph
[legend]
Collaboration diagram for CallsignDB::Flags:
Collaboration graph
[legend]

Public Member Functions

 Flags (int64_t count=-1)
 Constructor.
 
 Flags (const Flags &other)
 Copy constructor.
 
bool hasCountLimit () const
 Returns true if the selection has a limit on the number of callsigns to encode.
 
size_t countLimit () const
 Returns the limit of callsigns to encode.
 
void setCountLimit (size_t n)
 Sets the count limit.
 
void clearCountLimit ()
 Clears the count limit.
 
- Public Member Functions inherited from TransferFlags
 TransferFlags ()
 Default constructor.
 
 TransferFlags (bool blocking, bool updateDeviceClock)
 Constructor.
 
bool blocking () const
 Returns true if the transfer is blocking.
 
void setBlocking (bool enable)
 Set if transfer is blocking.
 
bool updateDeviceClock () const
 Returns true if the device clock gets updated during transfer.
 
void setUpdateDeviceClock (bool enable)
 Sets if the device clock gets updated during the transfer.
 

Protected Attributes

int64_t _count
 Specifies the maximum amount of callsigns to add.
 
- Protected Attributes inherited from TransferFlags
bool _blocking
 If true, the transfer is blocking.
 
bool _updateDeviceClock
 If true, the device clock gets updated during the transfer.
 

Detailed Description

Controls the selection of callsigns from the UserDatabase to be encoded into the callsign db.

Member Data Documentation

◆ _count

int64_t CallsignDB::Flags::_count
protected

Specifies the maximum amount of callsigns to add.

If negative, the device limit should be used.


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