#include #include "iceModule.h" #include "iceDaemon.h" #include IceDaemonModule::IceDaemonModule(const std::string & n, const IceDaemon * id) : name(n), iceDaemon(id) { } void IceDaemonModule::executeView(const std::string & name, Slicer::ModelPartPtr mpp, const ParamMap & params) const { iceDaemon->executeView(name, mpp, params); } void IceDaemonModule::executeTask(const std::string & name, const ParamMap & params) const { iceDaemon->executeTask(name, params); } void IceDaemonModule::add(Ice::ObjectAdapterPtr adapter, Ice::CommunicatorPtr ic) { adapter->add(this, ic->stringToIdentity(name)); } void IceDaemonModule::remove(Ice::ObjectAdapterPtr adapter, Ice::CommunicatorPtr ic) { adapter->remove(ic->stringToIdentity(name)); } INSTANTIATEFACTORY(IceDaemonModule, const IceDaemon *);