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

Method Rig

c++/rigclass.cc:55–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53
54
55Rig::Rig(rig_model_t rig_model) {
56 theRig = rig_init(rig_model);
57 if (!theRig)
58 THROW(new RigException ("Rig initialization error"));
59
60 caps = theRig->caps;
61 theRig->callbacks.freq_event = &hamlibpp_freq_event;
62 theRig->state.obj = (rig_ptr_t)this;
63}
64
65Rig::~Rig() {
66 theRig->state.obj = NULL;

Callers 7

test_without_openMethod · 0.80
test_with_openMethod · 0.80
test_miscMethod · 0.80
test_object_creationMethod · 0.80
test_startupMethod · 0.80
test_object_creationMethod · 0.80
test_object_creationMethod · 0.80

Calls 1

THROWFunction · 0.85

Tested by 7

test_without_openMethod · 0.64
test_with_openMethod · 0.64
test_miscMethod · 0.64
test_object_creationMethod · 0.64
test_startupMethod · 0.64
test_object_creationMethod · 0.64
test_object_creationMethod · 0.64