17 #include <boost/thread.hpp>
18 #include <boost/bind.hpp>
21 #include "FairMQLogger.h"
22 #include "mrfdata_8b.h"
46 while (CheckCurrentState(RUNNING) && stop ==
false)
53 unique_ptr<FairMQMessage> header(fTransportFactory->CreateMessage(
sizeof(
int)));
58 memcpy(header->GetData(), &flag,
sizeof(int));
61 fChannels.at(
"data-out").at(0).SendPart(header);
62 fChannels.at(
"data-out").at(0).Send(msg);
67 memcpy(header->GetData(), &flag,
sizeof(int));
68 fChannels.at(
"data-out").at(0).Send(header);
86 FairMQDevice::SetProperty(key, value);
99 return FairMQDevice::GetProperty(key, default_);
108 FairMQDevice::SetProperty(key, value);
118 return FairMQDevice::GetProperty(key, default_);
virtual std::string GetProperty(const int key, const std::string &default_="")
virtual Bool_t ReadInDataFromFile(TMrfData_8b *&data)
PndMvdReadInToPix4TBData fTopixDataReader
virtual ~PndMQTopix4Sampler()
static void CustomCleanup(void *data, void *hint)
virtual void SetProperty(const int key, const std::string &value)
Base interface class for data storage and manipulation. Compatible with IO classes from MRF Suite...
std::vector< UChar_t > regdata
Internal storage for data structure.
void SetFileName(std::vector< std::string > fileName)
const UInt_t & getNumWords() const
Retrieves the length of the register in words.