Public Member Functions | Private Attributes
micros_swarm::OutMsgQueue Class Reference

#include <msg_queue_manager.h>

List of all members.

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_
MsgQueueManagerqueue_manager_ptr_
int size_

Detailed Description

Definition at line 34 of file msg_queue_manager.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Definition at line 37 of file msg_queue_manager.cpp.

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.

Definition at line 49 of file msg_queue_manager.cpp.


Member Data Documentation

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.

Definition at line 47 of file msg_queue_manager.h.


The documentation for this class was generated from the following files:


micros_swarm
Author(s):
autogenerated on Thu Jun 6 2019 18:52:14