MCPcopy Index your code
hub / github.com/DreamSourceLab/DSView / config_setter

Method config_setter

DSView/pv/prop/binding/probeoptions.cpp:115–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115void ProbeOptions::config_setter(struct sr_channel *probe, int key, GVariant* value)
116{
117 SigSession *session = AppControl::Instance()->GetSession();
118 DeviceAgent *_device_agent = session->get_device();
119 _device_agent->set_config(key, value, probe, NULL);
120}
121
122void ProbeOptions::bind_bool(const QString &name, const QString label, int key)
123{

Callers

nothing calls this directly

Calls 3

GetSessionMethod · 0.80
get_deviceMethod · 0.80
set_configMethod · 0.80

Tested by

no test coverage detected