bool interruptModule() { closing = true; handlerPort.interrupt(); cout<<"Interrupting your module, for port cleanup"<<endl; return true; }
bool interruptModule() { rpcPort.interrupt(); dumpPort.interrupt(); opc.interrupt(); return true; }
bool interruptModule() { imgInPort.interrupt(); imgOutPort.interrupt(); dataOutPort.interrupt(); rpcPort.interrupt(); return true; }
bool close() { rpc.interrupt(); rpc.close(); speaker.stop(); return true; }
bool interruptModule() { cout<<"Interrupt caught!"<<endl; cout<<endl; handlerPort.interrupt(); objectsPort.interrupt(); return true; }
bool close() { rpcPort.interrupt(); rpcPort.close(); dumpPort.interrupt(); dumpPort.close(); opc.interrupt(); opc.close(); return true; }
bool interruptModule() { portDispIn.interrupt(); portDispOut.interrupt(); portOutPoints.interrupt(); portImgIn.interrupt(); portContour.interrupt(); portSFM.interrupt(); portRpc.interrupt(); return true; }