Template Class SickWaitForMessageHandler
Defined in File sick_generic_callback.h
Class Documentation
-
template<typename HandleType, class MsgType>
class SickWaitForMessageHandler Public Types
-
typedef SickWaitForMessageHandler<HandleType, MsgType> *SickWaitForMessageHandlerPtr
Public Static Functions
-
static inline void messageCallback(HandleType node, const MsgType *msg)
-
static inline void addWaitForMessageHandlerHandler(SickWaitForMessageHandlerPtr handler)
-
static inline void removeWaitForMessageHandlerHandler(SickWaitForMessageHandlerPtr handler)
-
static inline void shutdown()
Protected Functions
-
inline void signal_shutdown(void)
-
inline void message_callback(HandleType node, const MsgType *msg)
Protected Attributes
-
bool m_running = true
-
bool m_message_valid = false
-
std::mutex m_message_mutex
-
std::condition_variable m_message_cond
Protected Static Attributes
-
static std::list<SickWaitForMessageHandler<HandleType, MsgType>*> s_wait_for_message_handler_list
-
static std::mutex s_wait_for_message_handler_mutex
-
typedef SickWaitForMessageHandler<HandleType, MsgType> *SickWaitForMessageHandlerPtr