#include #pragma GCC visibility push(default) #include "iceModule.h" #include "iceDaemon.h" #include INSTANTIATEFACTORY(IceDaemonModule, std::shared_ptr); #pragma GCC visibility pop IceDaemonModule::IceDaemonModule(const std::string & n, const std::shared_ptr & 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) { adapter->add(ICE_SHARED_FROM_THIS, Ice::stringToIdentity(name)); } void IceDaemonModule::remove(Ice::ObjectAdapterPtr adapter, Ice::CommunicatorPtr) { adapter->remove(Ice::stringToIdentity(name)); }