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

Method getUniqueName

src/Connection.cpp:157–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157BusName Connection::getUniqueName() const
158{
159 const char* name{};
160 auto r = sdbus_->sd_bus_get_unique_name(bus_.get(), &name);
161 SDBUS_THROW_ERROR_IF(r < 0 || name == nullptr, "Failed to get unique bus name", -r);
162 return BusName{name};
163}
164
165void Connection::enterEventLoop()
166{

Callers

nothing calls this directly

Calls 2

getMethod · 0.45

Tested by

no test coverage detected