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

Method getCurrentlyProcessedMessage

src/Connection.cpp:882–889  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

880}
881
882Message Connection::getCurrentlyProcessedMessage() const
883{
884 auto* sdbusMsg = sdbus_->sd_bus_get_current_message(bus_.get());
885
886 // TODO: const_cast..? Finish the const correctness design
887 // NOLINTNEXTLINE(cppcoreguidelines-pro-type-const-cast)
888 return Message::Factory::create<Message>(sdbusMsg, const_cast<Connection*>(this));
889}
890
891template <typename StringBasedType>
892std::vector</*const */char*> Connection::to_strv(const std::vector<StringBasedType>& strings)

Callers

nothing calls this directly

Calls 2

getMethod · 0.45

Tested by

no test coverage detected