Commit ec3ac82a authored by Martin Vala's avatar Martin Vala

Remove useless class

parent 50ddcd83
Pipeline #1447 passed with stage
in 14 minutes and 51 seconds
......@@ -56,11 +56,11 @@ public:
virtual bool sendWhisper(Socket * s, std::string to, std::vector<std::string> & v);
protected:
std::map<std::string, Job *> mJobs{}; ///< List of jobs
std::vector<std::string> mActiveJobs{}; ///< List of active jobs
std::map<std::string, std::shared_ptr<Worker>> mWorkers{}; ///< List of Workers
std::map<std::string, std::shared_ptr<Consumer>> mConsumers{}; ///< List of Consumers
std::map<std::string, std::shared_ptr<Feeder>> mFeeders{}; ///< List of Feeders
TaskPool * mTaskPool = 0; ///< Task pool
std::map<std::string, Job *> mJobs{}; ///< List of jobs
std::vector<std::string> mActiveJobs{}; ///< List of active jobs
std::map<std::string, std::shared_ptr<Worker>> mWorkers{}; ///< List of Workers
std::map<std::string, std::shared_ptr<Consumer>> mConsumers{}; ///< List of Consumers
std::map<std::string, std::shared_ptr<Feeder>> mFeeders{}; ///< List of Feeders
TaskPool * mTaskPool = nullptr; ///< Task pool
};
} // namespace Salsa
......@@ -2,7 +2,6 @@
#include <MessageZyre.hh>
#include <SocketZyre.hh>
#include <TaskExecutorForkZmq.hh>
#include <TaskStateZmq.hh>
namespace Salsa
{
NodeManagerZyre::NodeManagerZyre(NodeZyre * nz)
......
#include "TaskStateZmq.hh"
namespace Salsa
{
TaskStateZmq::TaskStateZmq(zactor_t * actor)
: TaskState()
, mZactor(actor)
{
///
/// Constructor
///
}
TaskStateZmq::~TaskStateZmq()
{
///
/// Destructor
///
zactor_destroy(&mZactor);
}
zactor_t * TaskStateZmq::actor() const
{
///
/// Returns zactor
///
return mZactor;
}
} // namespace Salsa
#pragma once
#include <ActorZmq.hh>
#include <TaskState.hh>
namespace Salsa
{
///
/// \class TaskStateZmq
///
/// \brief Base salsa TaskStateZmq class
/// \author Matej Fedor <matej.fedor.mf@gmail.com>
/// \author Martin Vala <mvala@cern.ch>
/// \author Branislav Beke <beke.public@yandex.com>
///
class TaskStateZmq : public TaskState
{
public:
TaskStateZmq(zactor_t * actor);
virtual ~TaskStateZmq();
zactor_t * actor() const;
protected:
zactor_t * mZactor = nullptr; ///< ZMQ Actor pointer
};
} // namespace Salsa
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment