#include <PndMQExample1Sink.h>
PndMQExample1Sink.h
- Since
- 2014-10-10
- Author
- A. Rybalchenko
Definition at line 20 of file PndMQExample1Sink.h.
PndMQExample1Sink::PndMQExample1Sink |
( |
| ) |
|
PndMQExample1Sink::~PndMQExample1Sink |
( |
| ) |
|
|
virtual |
void PndMQExample1Sink::Run |
( |
| ) |
|
|
protectedvirtual |
Definition at line 27 of file PndMQExample1Sink.cxx.
29 while (CheckCurrentState(RUNNING))
31 unique_ptr<FairMQMessage> msg(fTransportFactory->CreateMessage());
33 if (fChannels.at(
"data-in").at(0).Receive(msg) > 0)
35 LOG(INFO) <<
"Received message: \""
36 << string(static_cast<char*>(msg->GetData()), msg->GetSize())
The documentation for this class was generated from the following files: