how we can send msg from publisher to subscriber on different topics in one structure and how topics can be retrieved in subscriber.
- C/C++ code example
how we can send msg from publisher to subscriber on different topics in one structure and how topics can be retrieved in subscriber.
The
pub-side can do just sending, like this :Using basically this mock-up principle, the
sub-side has to subscribe first :