MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / requestOpen

Method requestOpen

Suscan/AnalyzerRequestTracker.cpp:69–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69bool
70AnalyzerRequestTracker::requestOpen(
71 std::string const &inspClass,
72 Channel const &channel,
73 QVariant data,
74 bool precise,
75 Handle parent)
76{
77 AnalyzerRequest request;
78
79 if (!g_registered) {
80 qRegisterMetaType<Suscan::AnalyzerRequest>();
81 g_registered = true;
82 }
83
84 if (m_analyzer == nullptr)
85 return false;
86
87 request.requestId = m_analyzer->allocateRequestId();
88 request.inspectorId = m_analyzer->allocateInspectorId();
89 request.inspClass = inspClass;
90 request.channel = channel;
91 request.precise = precise;
92 request.parent = parent;
93 request.data = data;
94
95 return this->executeOpenRequest(request);
96}
97
98void
99AnalyzerRequestTracker::cancelAll()

Callers 3

startRawCaptureMethod · 0.80
connectAllMethod · 0.80
openInspectorTabMethod · 0.80

Calls 3

executeOpenRequestMethod · 0.95
allocateRequestIdMethod · 0.80
allocateInspectorIdMethod · 0.80

Tested by 1

openInspectorTabMethod · 0.64