MCPcopy Create free account
hub / github.com/PixlOne/logiops / getProfiles

Method getProfiles

src/logid/Device.cpp:229–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227}
228
229std::vector<std::string> Device::getProfiles() const {
230 std::shared_lock lock(_profile_mutex);
231
232 std::vector<std::string> ret;
233 for (auto& profile : _config.profiles) {
234 ret.push_back(profile.first);
235 }
236
237 return ret;
238}
239
240void Device::setProfile(const std::string& profile) {
241 std::unique_lock lock(_profile_mutex);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected