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

Method get_config_byte

DSView/pv/deviceagent.cpp:599–610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

597}
598
599bool DeviceAgent::get_config_byte(int key, int &value, const sr_channel *ch, const sr_channel_group *cg)
600{
601 GVariant* gvar = get_config(key, ch, cg);
602
603 if (gvar != NULL) {
604 value = g_variant_get_byte(gvar);
605 g_variant_unref(gvar);
606 return true;
607 }
608
609 return false;
610}
611
612bool DeviceAgent::set_config_byte(int key, int value, const sr_channel *ch, const sr_channel_group *cg)
613{

Callers 10

nodata_timeoutMethod · 0.80
meta_genMethod · 0.80
export_execMethod · 0.80
load_settingsMethod · 0.80
paint_prepareMethod · 0.80
AnalogSignalMethod · 0.80
get_acCouplingMethod · 0.80
signals_changedMethod · 0.80
paintSignalsMethod · 0.80
update_viewMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected