48 HandUnitInterfacePrx handUnit =
49 getContext<HandGroupStatechartContext>()->getHandUnit(in.getHandName());
50 if (in.isObjectInstanceChannelSet())
52 handUnit->setObjectGrasped(
53 in.getObjectInstanceChannel()->getDataField(
"className")->getString());
55 else if (in.isObjectNameSet())
57 handUnit->setObjectGrasped(in.getObjectName());
62 "Either ObjectInstanceChannel or ObjectName inputparameter must be set");