Public Member Functions | Public Attributes | Private Attributes | List of all members
micros_swarm::MsgQueueManager Class Reference

#include <msg_queue_manager.h>

Public Member Functions

bool allOutMsgQueueEmpty ()
 
void createOutMsgQueue (std::string name, int size)
 
OutMsgQueuegetOutMsgQueue (std::string name)
 
 MsgQueueManager ()
 
void spinAllOutMsgQueueOnce (std::vector< std::vector< uint8_t > > &msg_vec)
 
 ~MsgQueueManager ()
 

Public Attributes

boost::condition_variable_any msg_queue_condition
 
boost::shared_mutex msg_queue_mutex
 

Private Attributes

std::map< std::string, OutMsgQueue * > queue_map_
 

Detailed Description

Definition at line 53 of file msg_queue_manager.h.

Constructor & Destructor Documentation

micros_swarm::MsgQueueManager::MsgQueueManager ( )

Definition at line 74 of file msg_queue_manager.cpp.

micros_swarm::MsgQueueManager::~MsgQueueManager ( )

Definition at line 79 of file msg_queue_manager.cpp.

Member Function Documentation

bool micros_swarm::MsgQueueManager::allOutMsgQueueEmpty ( )

Definition at line 131 of file msg_queue_manager.cpp.

void micros_swarm::MsgQueueManager::createOutMsgQueue ( std::string  name,
int  size 
)

Definition at line 88 of file msg_queue_manager.cpp.

OutMsgQueue * micros_swarm::MsgQueueManager::getOutMsgQueue ( std::string  name)

Definition at line 94 of file msg_queue_manager.cpp.

void micros_swarm::MsgQueueManager::spinAllOutMsgQueueOnce ( std::vector< std::vector< uint8_t > > &  msg_vec)

Definition at line 106 of file msg_queue_manager.cpp.

Member Data Documentation

boost::condition_variable_any micros_swarm::MsgQueueManager::msg_queue_condition

Definition at line 64 of file msg_queue_manager.h.

boost::shared_mutex micros_swarm::MsgQueueManager::msg_queue_mutex

Definition at line 63 of file msg_queue_manager.h.

std::map<std::string, OutMsgQueue*> micros_swarm::MsgQueueManager::queue_map_
private

Definition at line 66 of file msg_queue_manager.h.


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


micros_swarm
Author(s):
autogenerated on Mon Jun 10 2019 14:02:06