MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / getAll

Method getAll

src/utils/CliRemoteController.cpp:202–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202bool CliRemoteController::getAll() const
203{
204 std::optional<QString> result;
205 if(!checkConnectionAndLog()) {
206 result = DspConfig::instance().serialize();
207 }
208 else {
209 auto reply = service->getAll();
210 auto received = handleReply<QString>(reply);
211 result = received;
212 }
213
214 if(result.has_value()) {
215 Log::console(result.value(), true);
216 }
217
218 return result.has_value();
219}
220
221bool CliRemoteController::listKeys() const
222{

Callers

nothing calls this directly

Calls 2

serializeMethod · 0.80
valueMethod · 0.45

Tested by

no test coverage detected