mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Remove useless code
This commit is contained in:
committed by
Dennis Klein
parent
882edbbdb8
commit
3c4158addb
@@ -11,15 +11,13 @@
|
||||
|
||||
namespace bpo = boost::program_options;
|
||||
|
||||
class Processor : public FairMQDevice
|
||||
struct Processor : fair::mq::Device
|
||||
{
|
||||
public:
|
||||
Processor()
|
||||
{
|
||||
OnData("bp", &Processor::HandleData);
|
||||
}
|
||||
|
||||
protected:
|
||||
bool HandleData(FairMQMessagePtr& msg, int /*index*/)
|
||||
{
|
||||
FairMQMessagePtr msg2(NewMessageFor("ps", 0, msg->GetSize()));
|
||||
|
@@ -15,11 +15,8 @@
|
||||
|
||||
namespace bpo = boost::program_options;
|
||||
|
||||
class Readout : public FairMQDevice
|
||||
struct Readout : fair::mq::Device
|
||||
{
|
||||
public:
|
||||
Readout() = default;
|
||||
|
||||
void InitTask() override
|
||||
{
|
||||
fMsgSize = fConfig->GetProperty<int>("msg-size");
|
||||
|
@@ -11,11 +11,8 @@
|
||||
|
||||
namespace bpo = boost::program_options;
|
||||
|
||||
class Receiver : public FairMQDevice
|
||||
struct Receiver : fair::mq::Device
|
||||
{
|
||||
public:
|
||||
Receiver() = default;
|
||||
|
||||
void InitTask() override
|
||||
{
|
||||
// Get the fMaxIterations value from the command line options (via fConfig)
|
||||
|
@@ -13,11 +13,8 @@
|
||||
|
||||
namespace bpo = boost::program_options;
|
||||
|
||||
class Sender : public FairMQDevice
|
||||
struct Sender : fair::mq::Device
|
||||
{
|
||||
public:
|
||||
Sender() = default;
|
||||
|
||||
void Init() override
|
||||
{
|
||||
fInputChannelName = fConfig->GetProperty<std::string>("input-name");
|
||||
|
Reference in New Issue
Block a user