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

Method get_config_int16

DSView/pv/deviceagent.cpp:570–581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

568}
569
570bool DeviceAgent::get_config_int16(int key, int &value, const sr_channel *ch, const sr_channel_group *cg)
571{
572 GVariant* gvar = get_config(key, ch, cg);
573
574 if (gvar != NULL) {
575 value = g_variant_get_int16(gvar);
576 g_variant_unref(gvar);
577 return true;
578 }
579
580 return false;
581}
582
583bool DeviceAgent::set_config_int16(int key, int value, const sr_channel *ch, const sr_channel_group *cg)
584{

Callers 10

update_view_statusMethod · 0.80
DeviceOptionsMethod · 0.80
logic_probesMethod · 0.80
enable_max_probesMethod · 0.80
mode_check_timeoutMethod · 0.80
update_device_infoMethod · 0.80
TriggerDockMethod · 0.80
device_updatedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected