FairMQ: remove runSimpleMQStateMachine (now via control plugin).

This commit is contained in:
Alexey Rybalchenko
2017-10-05 09:30:40 +02:00
committed by Mohammad Al-Turany
parent d175a732a6
commit e3cb1dd9e5
3 changed files with 0 additions and 86 deletions

View File

@@ -11,25 +11,6 @@
#include <memory>
#include <string>
template <typename R>
class GenericFairMQDevice : public FairMQDevice
{
public:
GenericFairMQDevice(R func) : r(func) {}
protected:
virtual bool ConditionalRun() { return r(*static_cast<FairMQDevice*>(this)); }
private:
R r;
};
template <typename R>
FairMQDevice* makeDeviceWithConditionalRun(R r)
{
return new GenericFairMQDevice<R>(r);
}
using FairMQDevicePtr = FairMQDevice*;
// to be implemented by the user to return a child class of FairMQDevice