3 #include <QCoreApplication>
8 #include <RobotAPI/interface/units/KITProstheticHandInterface.h>
11 main(
int argc,
char* argv[])
13 for (
int i = 0; i < argc; ++i)
15 if (std::string(argv[i]) ==
"-h" ||
16 std::string(argv[i]) ==
"--print-options")
23 QCoreApplication
a(argc, argv);
26 Ice::CommunicatorHolder iceServer(argc, argv);
28 "KITProsthesisControlAdapter",
"default -h localhost -p 10000");
30 Ice::ObjectPrx prx = adapter->add(
object, Ice::stringToIdentity(
"KITProsthesisControl"));
31 std::cout << prx->ice_toString() << std::endl;
33 iceServer->waitForShutdown();
35 catch (
const std::exception& e)
37 std::cerr << e.what() << std::endl;