1 #ifndef BT_ZMQ_PUBLISHER_H 2 #define BT_ZMQ_PUBLISHER_H 24 virtual void flush()
override;
49 #endif // BT_ZMQ_PUBLISHER_H std::vector< uint8_t > status_buffer_
std::chrono::high_resolution_clock::time_point TimePoint
PublisherZMQ(TreeNode *root_node, int max_msg_per_second=25)
std::vector< uint8_t > tree_buffer_
std::atomic_bool active_server_
static pthread_mutex_t mutex
static std::atomic< bool > ref_count
virtual void flush() override
void createStatusBuffer()
std::future< void > send_future_
virtual void callback(Duration timestamp, const TreeNode &node, NodeStatus prev_status, NodeStatus status) override
std::chrono::microseconds min_time_between_msgs_
std::vector< SerializedTransition > transition_buffer_
std::chrono::high_resolution_clock::duration Duration
std::atomic_bool send_pending_