namespace pv {
namespace data {
-SignalData::SignalData()
-{
-}
-
} // namespace data
} // namespace pv
class SignalData
{
public:
- SignalData();
+ SignalData() = default;
virtual ~SignalData() {}
public:
driver_scan(entry.second, map<const ConfigKey *, VariantBase>());
}
-DeviceManager::~DeviceManager()
-{
-}
-
const std::shared_ptr<sigrok::Context>& DeviceManager::context() const
{
return context_;
public:
DeviceManager(std::shared_ptr<sigrok::Context> context);
- ~DeviceManager();
+ ~DeviceManager() = default;
const std::shared_ptr<sigrok::Context>& context() const;
{
}
-Bool::~Bool()
-{
-}
-
QWidget* Bool::get_widget(QWidget *parent, bool auto_commit)
{
if (check_box_)
public:
Bool(QString name, Getter getter, Setter setter);
- virtual ~Bool();
+ virtual ~Bool() = default;
QWidget* get_widget(QWidget *parent, bool auto_commit);
bool labeled_widget() const;
{
}
-Double::~Double()
-{
-}
-
QWidget* Double::get_widget(QWidget *parent, bool auto_commit)
{
if (spin_box_)
Getter getter,
Setter setter);
- virtual ~Double();
+ virtual ~Double() = default;
QWidget* get_widget(QWidget *parent, bool auto_commit);
{
}
-Enum::~Enum()
-{
-}
-
QWidget* Enum::get_widget(QWidget *parent, bool auto_commit)
{
if (selector_)
Enum(QString name, std::vector<std::pair<Glib::VariantBase, QString> > values,
Getter getter, Setter setter);
- virtual ~Enum();
+ virtual ~Enum() = default;
QWidget* get_widget(QWidget *parent, bool auto_commit);
{
}
-Int::~Int()
-{
-}
-
QWidget* Int::get_widget(QWidget *parent, bool auto_commit)
{
int64_t int_val = 0, range_min = 0;
boost::optional< std::pair<int64_t, int64_t> > range,
Getter getter, Setter setter);
- virtual ~Int();
+ virtual ~Int() = default;
QWidget* get_widget(QWidget *parent, bool auto_commit);
set_colour(SignalColours[channel_->index() % countof(SignalColours)]);
}
-AnalogSignal::~AnalogSignal()
-{
-}
-
shared_ptr<pv::data::SignalData> AnalogSignal::data() const
{
return data_;
std::shared_ptr<sigrok::Channel> channel,
std::shared_ptr<pv::data::Analog> data);
- virtual ~AnalogSignal();
+ virtual ~AnalogSignal() = default;
std::shared_ptr<pv::data::SignalData> data() const;
trigger_match_ = match->type();
}
-LogicSignal::~LogicSignal()
-{
-}
-
shared_ptr<pv::data::SignalData> LogicSignal::data() const
{
return data_;
std::shared_ptr<sigrok::Channel> channel,
std::shared_ptr<pv::data::Logic> data);
- virtual ~LogicSignal();
+ virtual ~LogicSignal() = default;
std::shared_ptr<pv::data::SignalData> data() const;