#include <MasterQueue.h>
Public Member Functions | |
int | disconnect () |
void | drain () |
std::vector< int > | getReceivers () const |
int | id () |
MasterQueue (unsigned int ind) | |
int | occupancy () const |
pid_t | pidOfLastReceive () const |
pid_t | pidOfLastSend () const |
int | post (MsgBuf &ptr) |
int | postLength (MsgBuf &ptr, unsigned int length) |
unsigned long | rcv (MsgBuf &ptr) |
unsigned long | rcvNonBlocking (MsgBuf &ptr) |
bool | rcvQuiet (MsgBuf &ptr) |
int | status () |
~MasterQueue () | |
Private Member Functions | |
void | updateReceivers () |
Private Attributes | |
int | occup_ |
int | pidOfLastReceive_ |
int | pidOfLastSend_ |
int | queue_id_ |
std::vector< int > | receivers_ |
int | status_ |
Definition at line 21 of file MasterQueue.h.
MasterQueue::MasterQueue | ( | unsigned int | ind | ) |
Definition at line 7 of file MasterQueue.cc.
References drain(), QUEUE_ID, and queue_id_.
MasterQueue::~MasterQueue | ( | ) |
int MasterQueue::disconnect | ( | void | ) |
Definition at line 95 of file MasterQueue.cc.
References queue_id_, run_regression::ret, and status_.
Referenced by Vispa.Views.LineDecayView.LineDecayView::createLineDecayContainer(), Vispa.Views.PropertyView.BooleanProperty::setChecked(), Vispa.Views.PropertyView.BooleanProperty::setReadOnly(), Vispa.Views.PropertyView.DropDownProperty::setReadOnly(), Vispa.Views.PropertyView.TextEditWithButtonProperty::setReadOnly(), Vispa.Views.PropertyView.IntegerProperty::setValue(), Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController::updateViewMenu(), Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::updateViewMenu(), and evf::FUResourceQueue::~FUResourceQueue().
void MasterQueue::drain | ( | ) |
Definition at line 127 of file MasterQueue.cc.
References gather_cfg::cout, lumiQueryAPI::msg, evf::MsgBuf::msize(), occup_, evf::MsgBuf::ptr_, queue_id_, and status().
Referenced by MasterQueue().
|
inline |
int MasterQueue::id | ( | void | ) |
int MasterQueue::occupancy | ( | ) | const |
Definition at line 123 of file MasterQueue.cc.
References occup_.
pid_t MasterQueue::pidOfLastReceive | ( | ) | const |
pid_t MasterQueue::pidOfLastSend | ( | ) | const |
int MasterQueue::post | ( | MsgBuf & | ptr | ) |
Definition at line 26 of file MasterQueue.cc.
References gather_cfg::cout, evf::MsgBuf::msize(), evf::MsgBuf::ptr_, and queue_id_.
Referenced by evf::Vulture::start(), and evf::Vulture::stop().
int MasterQueue::postLength | ( | MsgBuf & | ptr, |
unsigned int | length | ||
) |
Definition at line 36 of file MasterQueue.cc.
References gather_cfg::cout, evf::MsgBuf::ptr_, and queue_id_.
Referenced by evf::FUResourceQueue::buildResource().
unsigned long MasterQueue::rcv | ( | MsgBuf & | ptr | ) |
Definition at line 58 of file MasterQueue.cc.
References MSGQ_MESSAGE_TYPE_RANGE, evf::MsgBuf::msize(), evf::MsgBuf::ptr_, and queue_id_.
unsigned long MasterQueue::rcvNonBlocking | ( | MsgBuf & | ptr | ) |
Definition at line 82 of file MasterQueue.cc.
References MSGQ_MESSAGE_TYPE_RANGE, evf::MsgBuf::msize(), evf::MsgBuf::ptr_, and queue_id_.
Referenced by evf::Vulture::hasStarted(), and evf::Vulture::hasStopped().
bool MasterQueue::rcvQuiet | ( | MsgBuf & | ptr | ) |
Definition at line 74 of file MasterQueue.cc.
References evf::MsgBuf::msize(), evf::MsgBuf::ptr_, and queue_id_.
Referenced by evf::FUResourceQueue::discard(), evf::FUResourceQueue::discardWhileHalting(), evf::FUResourceQueue::sendData(), evf::FUResourceQueue::sendDataWhileHalting(), evf::FUResourceQueue::sendDqm(), and evf::FUResourceQueue::sendDqmWhileHalting().
int MasterQueue::status | ( | void | ) |
Definition at line 105 of file MasterQueue.cc.
References occup_, pidOfLastReceive_, pidOfLastSend_, queue_id_, run_regression::ret, and status_.
Referenced by drain(), and updateReceivers().
|
private |
Definition at line 150 of file MasterQueue.cc.
References i, pidOfLastReceive_, receivers_, and status().
|
private |
Definition at line 51 of file MasterQueue.h.
Referenced by drain(), occupancy(), and status().
|
private |
Definition at line 53 of file MasterQueue.h.
Referenced by pidOfLastReceive(), status(), and updateReceivers().
|
private |
Definition at line 52 of file MasterQueue.h.
Referenced by pidOfLastSend(), and status().
|
private |
Definition at line 49 of file MasterQueue.h.
Referenced by disconnect(), drain(), id(), MasterQueue(), post(), postLength(), rcv(), rcvNonBlocking(), rcvQuiet(), status(), and ~MasterQueue().
|
private |
Definition at line 54 of file MasterQueue.h.
Referenced by getReceivers(), and updateReceivers().
|
private |
Definition at line 50 of file MasterQueue.h.
Referenced by disconnect(), status(), and ~MasterQueue().