blob: 309e9a59183a4bfea2ff9abb9be2098f1730a3be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#include <pch.hpp>
#include "iceModule.h"
#include "iceDaemon.h"
#include <factory.impl.h>
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 *);
|