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

Function main

tests/perftests/server.cpp:106–115  ·  view source on GitHub ↗

-----------------------------------------

Source from the content-addressed store, hash-verified

104
105//-----------------------------------------
106int main(int /*argc*/, char */*argv*/[])
107{
108 sdbus::ServiceName const serviceName{"org.sdbuscpp.perftests"};
109 auto connection = sdbus::createSystemBusConnection(serviceName);
110
111 sdbus::ObjectPath objectPath{"/org/sdbuscpp/perftests"};
112 PerftestAdaptor server(*connection, std::move(objectPath)); // NOLINT(misc-const-correctness)
113
114 connection->enterEventLoop();
115}

Callers

nothing calls this directly

Calls 2

enterEventLoopMethod · 0.80

Tested by

no test coverage detected