21 #ifndef PULSEVIEW_PV_DEVICES_DEVICE_HPP
22 #define PULSEVIEW_PV_DEVICES_DEVICE_HPP
47 std::shared_ptr<sigrok::Session>
session()
const;
49 std::shared_ptr<sigrok::Device>
device()
const;
52 T
read_config(
const sigrok::ConfigKey *key,
const T default_value = 0);
57 virtual std::string
full_name()
const = 0;
67 virtual void open() = 0;
69 virtual void close() = 0;
85 #endif // PULSEVIEW_PV_DEVICES_DEVICE_HPP
virtual std::string full_name() const =0
std::shared_ptr< sigrok::Device > device() const
T read_config(const sigrok::ConfigKey *key, const T default_value=0)
std::shared_ptr< sigrok::Session > session_
virtual std::string display_name(const DeviceManager &device_manager) const =0
std::shared_ptr< sigrok::Session > session() const
std::shared_ptr< sigrok::Device > device_