#include <msg_queue_manager.h>
Public Member Functions | |
bool | empty () |
const std::vector< uint8_t > & | front () |
bool | full () |
OutMsgQueue (const std::string &name, int size, MsgQueueManager *manager_ptr) | |
void | pop () |
void | push (const std::vector< uint8_t > &msg) |
int | size () |
~OutMsgQueue () | |
Private Attributes | |
boost::shared_mutex | mutex_ |
std::string | name_ |
boost::shared_ptr< cqueue < std::vector< uint8_t > > > | queue_ |
MsgQueueManager * | queue_manager_ptr_ |
int | size_ |
Definition at line 34 of file msg_queue_manager.h.
micros_swarm::OutMsgQueue::OutMsgQueue | ( | const std::string & | name, |
int | size, | ||
MsgQueueManager * | manager_ptr | ||
) |
Definition at line 27 of file msg_queue_manager.cpp.
Definition at line 32 of file msg_queue_manager.cpp.
bool micros_swarm::OutMsgQueue::empty | ( | ) |
Definition at line 43 of file msg_queue_manager.cpp.
const std::vector< uint8_t > & micros_swarm::OutMsgQueue::front | ( | ) |
Definition at line 55 of file msg_queue_manager.cpp.
bool micros_swarm::OutMsgQueue::full | ( | ) |
Definition at line 37 of file msg_queue_manager.cpp.
void micros_swarm::OutMsgQueue::pop | ( | ) |
Definition at line 61 of file msg_queue_manager.cpp.
void micros_swarm::OutMsgQueue::push | ( | const std::vector< uint8_t > & | msg | ) |
Definition at line 67 of file msg_queue_manager.cpp.
int micros_swarm::OutMsgQueue::size | ( | ) |
Definition at line 49 of file msg_queue_manager.cpp.
boost::shared_mutex micros_swarm::OutMsgQueue::mutex_ [private] |
Definition at line 49 of file msg_queue_manager.h.
std::string micros_swarm::OutMsgQueue::name_ [private] |
Definition at line 46 of file msg_queue_manager.h.
boost::shared_ptr<cqueue<std::vector<uint8_t> > > micros_swarm::OutMsgQueue::queue_ [private] |
Definition at line 50 of file msg_queue_manager.h.
Definition at line 48 of file msg_queue_manager.h.
int micros_swarm::OutMsgQueue::size_ [private] |
Definition at line 47 of file msg_queue_manager.h.