3 #include <RobotAPI/interface/units/KITProstheticHandInterface.h>
4 #include <QCoreApplication>
6 int main(
int argc,
char* argv[])
8 for (
int i = 0; i < argc; ++i)
10 if (std::string(argv[i]) ==
"-h" ||
11 std::string(argv[i]) ==
"--print-options")
18 QCoreApplication
a(argc, argv);
21 Ice::CommunicatorHolder iceServer(argc, argv);
22 Ice::ObjectAdapterPtr adapter = iceServer->createObjectAdapterWithEndpoints(
"KITProsthesisControlAdapter",
"default -h localhost -p 10000");
24 Ice::ObjectPrx prx = adapter->add(
object, Ice::stringToIdentity(
"KITProsthesisControl"));
25 std::cout << prx->ice_toString() << std::endl;
27 iceServer->waitForShutdown();
29 catch (
const std::exception& e)
31 std::cerr << e.what() << std::endl;