Add Subscriber::getTopic()
This commit is contained in:
parent
63987d8807
commit
260ac8d4bb
|
@ -132,6 +132,8 @@ public:
|
|||
sub_.shutdown();
|
||||
}
|
||||
|
||||
std::string getTopic() { return sub_ ? sub_.getTopic() : ""; }
|
||||
|
||||
private:
|
||||
|
||||
void cb(const MConstPtr& m)
|
||||
|
|
Loading…
Reference in New Issue