MCPcopy Create free account
hub / github.com/AimRT/AimRT / CreateServer

Method CreateServer

src/interface/aimrt_module_cpp_interface/context/context.h:490–494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488
489template <class TServiceServer>
490std::shared_ptr<TServiceServer> Context::CreateServer(std::string_view service_name, std::source_location loc) {
491 auto server = std::make_shared<TServiceServer>();
492 server->Init(shared_from_this(), std::string(service_name));
493 return server;
494}
495
496// OpSrv::Init implementation
497template <class Q, class P>

Callers

nothing calls this directly

Calls 1

InitMethod · 0.45

Tested by

no test coverage detected