diff options
author | Harald Welte <laforge@gnumonks.org> | 2018-06-13 23:21:57 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-06-13 23:21:57 +0200 |
commit | 9939ccd0ded4d8e6483e1468f2aa446366a4f2ac (patch) | |
tree | b914ab1872cbeccfbbdff68130771adf0e19cddb /Transceiver52M/UHDDevice.cpp | |
parent | 9eda0229a3bc06fe5987ab7268aeb3bf62b497d3 (diff) |
radioDevice: better encapsulation in base class
It's not good style to have the derived classes initialize members
inherited from the base class using "this->foo = bar". Rather, let's
make the base class have a constructor, and call that constructor to
initialize the members of the base class.
While doing this
* rename 'offset' to 'lo_offset' to avoid confusion with timestamp offset
* move 'InterfaceType' into the base class
* move 'chans' into the base class
* move 'rx_sps' into the base class
* mark base class members as 'protected'
Change-Id: Ib885675a7612a392aa7f75fca81269ddcff2f6ab
Diffstat (limited to 'Transceiver52M/UHDDevice.cpp')
0 files changed, 0 insertions, 0 deletions