MCPcopy Create free account
hub / github.com/Hamlib/Hamlib / getParmI

Method getParmI

c++/rigclass.cc:273–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271}
272
273int Rig::getParmI(setting_t parm)
274{
275 value_t val;
276
277 if (RIG_LEVEL_IS_FLOAT(parm))
278 THROW(new RigException (-RIG_EINVAL));
279
280 CHECK_RIG( rig_get_parm(theRig, parm, &val) );
281 return val.i;
282}
283
284float Rig::getParmF(setting_t parm)
285{

Callers

nothing calls this directly

Calls 2

THROWFunction · 0.85
rig_get_parmFunction · 0.85

Tested by

no test coverage detected