![]() |
ATLAS Offline Software
|
#include <SharedQueue.h>
Public Member Functions | |
| SharedQueue () | |
| SharedQueue (const std::string &name, int max_msg=SHAREDQUEUE_MAX_MSG, std::size_t max_size=MAX_MSG_SIZE, bool do_unlink=true) | |
| SharedQueue (const SharedQueue &other) | |
| SharedQueue & | operator= (const SharedQueue &other) |
| virtual | ~SharedQueue () |
| std::string | name () const |
| virtual bool | try_send (const std::string &) |
| virtual bool | send (const std::string &) |
| virtual std::string | try_receive () |
| virtual std::string | receive () |
| template<typename T> | |
| bool | try_send_basic (T) |
| template<typename T> | |
| bool | send_basic (T) |
| template<typename T> | |
| bool | try_receive_basic (T &) |
| template<typename T> | |
| bool | receive_basic (T &) |
| operator bool () const | |
Protected Member Functions | |
| boost::interprocess::message_queue * | operator-> () |
Private Member Functions | |
| void | copy (const SharedQueue &other) |
| void | destroy () |
| template<typename T> | |
| bool | do_send_basic (T, bool) |
| template<typename T> | |
| bool | do_receive_basic (T &, bool) |
Private Attributes | |
| boost::interprocess::message_queue * | m_queue |
| std::string * | m_name |
| int * | m_count |
Definition at line 21 of file SharedQueue.h.
| AthenaInterprocess::SharedQueue::SharedQueue | ( | ) |
Definition at line 16 of file SharedQueue.cxx.
| AthenaInterprocess::SharedQueue::SharedQueue | ( | const std::string & | name, |
| int | max_msg = SHAREDQUEUE_MAX_MSG, | ||
| std::size_t | max_size = MAX_MSG_SIZE, | ||
| bool | do_unlink = true ) |
Definition at line 21 of file SharedQueue.cxx.
| AthenaInterprocess::SharedQueue::SharedQueue | ( | const SharedQueue & | other | ) |
Definition at line 32 of file SharedQueue.cxx.
|
virtual |
Definition at line 47 of file SharedQueue.cxx.
|
private |
Definition at line 53 of file SharedQueue.cxx.
|
private |
|
private |
Definition at line 98 of file SharedQueue.h.
|
private |
Definition at line 71 of file SharedQueue.h.
| std::string AthenaInterprocess::SharedQueue::name | ( | ) | const |
Definition at line 78 of file SharedQueue.cxx.
|
inline |
Definition at line 49 of file SharedQueue.h.
|
inlineprotected |
Definition at line 54 of file SharedQueue.h.
| SharedQueue & AthenaInterprocess::SharedQueue::operator= | ( | const SharedQueue & | other | ) |
Definition at line 37 of file SharedQueue.cxx.
|
virtual |
Reimplemented in AthenaInterprocess::IdentifiedSharedQueue.
Definition at line 145 of file SharedQueue.cxx.
| bool AthenaInterprocess::SharedQueue::receive_basic | ( | T & | data | ) |
Definition at line 124 of file SharedQueue.h.
|
virtual |
Reimplemented in AthenaInterprocess::IdentifiedSharedQueue.
Definition at line 107 of file SharedQueue.cxx.
| bool AthenaInterprocess::SharedQueue::send_basic | ( | T | data | ) |
Definition at line 93 of file SharedQueue.h.
|
virtual |
Reimplemented in AthenaInterprocess::IdentifiedSharedQueue.
Definition at line 140 of file SharedQueue.cxx.
| bool AthenaInterprocess::SharedQueue::try_receive_basic | ( | T & | data | ) |
Definition at line 119 of file SharedQueue.h.
|
virtual |
Reimplemented in AthenaInterprocess::IdentifiedSharedQueue.
Definition at line 102 of file SharedQueue.cxx.
| bool AthenaInterprocess::SharedQueue::try_send_basic | ( | T | data | ) |
Definition at line 88 of file SharedQueue.h.
|
private |
Definition at line 68 of file SharedQueue.h.
|
private |
Definition at line 67 of file SharedQueue.h.
|
private |
Definition at line 66 of file SharedQueue.h.