37 using namespace ObjectLocalization;
46 memoryx::WorkingMemoryInterfacePrx workingMemory = getWorkingMemory();
47 memoryx::ObjectInstanceMemorySegmentBasePrx objectInstancesSegment = workingMemory->getObjectInstancesSegment();
48 memoryx::ObjectInstanceList objectInstanceList = objectInstancesSegment->getObjectInstancesByClass(in.getObjectName());
50 for (
auto& o : objectInstanceList)
54 objectInstancesSegment->removeEntity(objectInstance->getId());