#include <ShmemMonitorClient.h>
Public Member Functions | |
ShmemMonitorClient (const std::string &tag, int index, XtcInput::DgramQueue &queue, Pds::TransitionId::Value stopTr) | |
void | operator() () |
virtual int | processDgram (Pds::Dgram *dg) |
Instance of this class is supposed to run in a separate thread so its interface is suitable for use with boost::thread class, for example. It is also possible to use this class without starting new thread by calling operator()()
like in this example:
ShmemMonitorClient client(...); // This will run until stop transition is met client();
Definition at line 64 of file ShmemMonitorClient.h.
PSShmemInput::ShmemMonitorClient::ShmemMonitorClient | ( | const std::string & | tag, | |
int | index, | |||
XtcInput::DgramQueue & | queue, | |||
Pds::TransitionId::Value | stopTr | |||
) |
Definition at line 50 of file ShmemMonitorClient.cpp.
void PSShmemInput::ShmemMonitorClient::operator() | ( | ) |
Definition at line 62 of file ShmemMonitorClient.cpp.
int PSShmemInput::ShmemMonitorClient::processDgram | ( | Pds::Dgram * | dg | ) | [virtual] |
Definition at line 69 of file ShmemMonitorClient.cpp.
References logger, MsgLog, and mpids_test::size.