Class PubSubHandler#
Defined in File common.h
Class Documentation#
-
class PubSubHandler#
Public Static Functions
-
template<typename Interface>
static inline long init_pubsub(zmqpp::context &context, Interface &iface, const std::initializer_list<std::string> &topics = {})# initialize publisher, subscriber, and start subscriber thread
- Returns:
ERROR | NO_ERROR
-
template<typename Interface>
static inline void start_subscriber_thread(Interface &iface)# starts subscriber thread if needed
-
template<typename Interface>
static inline void subscriber_thread(Interface &iface)# the actual subscriber thread
-
template<typename Interface>