23 #ifndef MSG_QUEUE_MANAGER_H_ 24 #define MSG_QUEUE_MANAGER_H_ 27 #include <boost/thread.hpp> 32 class MsgQueueManager;
42 const std::vector<uint8_t>&
front();
44 void push(
const std::vector<uint8_t>& msg);
58 void createOutMsgQueue(std::string name,
int size);
60 void spinAllOutMsgQueueOnce(std::vector<std::vector<uint8_t> >& msg_vec);
61 bool allOutMsgQueueEmpty();
boost::condition_variable_any msg_queue_condition
OutMsgQueue(const std::string &name, int size, MsgQueueManager *manager_ptr)
MsgQueueManager * queue_manager_ptr_
boost::shared_mutex mutex_
boost::shared_ptr< cqueue< std::vector< uint8_t > > > queue_
boost::shared_mutex msg_queue_mutex
void push(const std::vector< uint8_t > &msg)
const std::vector< uint8_t > & front()
std::map< std::string, OutMsgQueue * > queue_map_