Add Subscriber::getTopic()

This commit is contained in:
Josh Faust 2009-09-21 21:42:27 +00:00
parent 63987d8807
commit 260ac8d4bb
1 changed files with 2 additions and 0 deletions

View File

@ -132,6 +132,8 @@ public:
sub_.shutdown();
}
std::string getTopic() { return sub_ ? sub_.getTopic() : ""; }
private:
void cb(const MConstPtr& m)