libdrmconf
0.15.1
A library to program DMR radios.
Toggle main menu visibility
Loading...
Searching...
No Matches
transferflags.hh
1
#ifndef TRANSFERFLAGS_HH
2
#define TRANSFERFLAGS_HH
3
4
6
class
TransferFlags
7
{
8
public
:
10
TransferFlags
();
12
TransferFlags
(
bool
blocking
,
bool
updateDeviceClock
);
13
15
bool
blocking
()
const
;
17
void
setBlocking
(
bool
enable);
18
20
bool
updateDeviceClock
()
const
;
22
void
setUpdateDeviceClock
(
bool
enable);
23
24
protected
:
26
bool
_blocking
;
28
bool
_updateDeviceClock
;
29
};
30
31
32
#endif
// TRANSFERFLAGS_HH
TransferFlags::setBlocking
void setBlocking(bool enable)
Set if transfer is blocking.
Definition
transferflags.cc:22
TransferFlags::TransferFlags
TransferFlags()
Default constructor.
Definition
transferflags.cc:3
TransferFlags::setUpdateDeviceClock
void setUpdateDeviceClock(bool enable)
Sets if the device clock gets updated during the transfer.
Definition
transferflags.cc:33
TransferFlags::_updateDeviceClock
bool _updateDeviceClock
If true, the device clock gets updated during the transfer.
Definition
transferflags.hh:28
TransferFlags::blocking
bool blocking() const
Returns true if the transfer is blocking.
Definition
transferflags.cc:17
TransferFlags::_blocking
bool _blocking
If true, the transfer is blocking.
Definition
transferflags.hh:26
TransferFlags::updateDeviceClock
bool updateDeviceClock() const
Returns true if the device clock gets updated during transfer.
Definition
transferflags.cc:28
lib
transferflags.hh
Generated by
1.17.0