MCPcopy Create free account
hub / github.com/Kistler-Group/sdbus-cpp / addObjectManager

Method addObjectManager

src/Connection.cpp:205–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205void Connection::addObjectManager(const ObjectPath& objectPath)
206{
207 auto r = sdbus_->sd_bus_add_object_manager(bus_.get(), nullptr, objectPath.c_str());
208
209 SDBUS_THROW_ERROR_IF(r < 0, "Failed to add object manager", -r);
210}
211
212Slot Connection::addObjectManager(const ObjectPath& objectPath, return_slot_t)
213{

Callers

nothing calls this directly

Calls 3

sd_bus_slot_unrefMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected