18 #ifndef BASE_SUBSCRIBER_HPP
19 #define BASE_SUBSCRIBER_HPP
24 #include <qi/session.hpp>
30 #include "../helpers/driver_helpers.hpp"
53 inline std::string
name()
const
58 inline std::string
topic()
const
bool is_initialized_
Definition: subscriber_base.hpp:71
qi::SessionPtr session_
Definition: subscriber_base.hpp:77
virtual ~BaseSubscriber()
Definition: subscriber_base.hpp:51
Robot
Definition: tools.hpp:37
std::string name() const
Definition: subscriber_base.hpp:53
bool isInitialized() const
Definition: subscriber_base.hpp:63
const robot::Robot & robot_
Definition: subscriber_base.hpp:74
BaseSubscriber(const std::string &name, const std::string &topic, qi::SessionPtr session)
Definition: subscriber_base.hpp:43
std::string topic() const
Definition: subscriber_base.hpp:58
Definition: subscriber_base.hpp:39
const robot::Robot & getRobot(const qi::SessionPtr &session)
Definition: driver_helpers.cpp:54
std::string topic_
Definition: subscriber_base.hpp:69
std::string name_
Definition: subscriber_base.hpp:69