#include #include #include int main() { auto& bus = softbus::bus::Bus::instance(); bus.subscribe("#", [](const softbus::bus::BusMessage& msg) { std::cout << "[topic] " << msg.topic << std::endl; }); std::cout << "topic_watcher: attach to daemon process is standalone demo only." << std::endl; std::cout << "Use daemon logs or integrate watcher via shared bus in-process." << std::endl; return 0; }