17 #include <boost/thread.hpp> 
   18 #include <boost/bind.hpp> 
   21 #include "FairMQLogger.h" 
   32     delete (
string*)
object;
 
   37     while (CheckCurrentState(RUNNING))
 
   39         boost::this_thread::sleep(boost::posix_time::milliseconds(1000));
 
   41         string* text = 
new string(
fText);
 
   43         unique_ptr<FairMQMessage> msg(fTransportFactory->CreateMessage(const_cast<char*>(text->c_str()), text->length(), 
CustomCleanup, text));
 
   45         LOG(INFO) << 
"Sending \"" << 
fText << 
"\"";
 
   47         fChannels.at(
"data-out").at(0).Send(msg);
 
   63             FairMQDevice::SetProperty(key, value);
 
   76             return FairMQDevice::GetProperty(key, default_);
 
   85             FairMQDevice::SetProperty(key, value);
 
   95             return FairMQDevice::GetProperty(key, default_);
 
static void CustomCleanup(void *data, void *hint)
virtual ~PndMQExample1Sampler()
virtual void SetProperty(const int key, const std::string &value)
virtual std::string GetProperty(const int key, const std::string &default_="")