Unregistering a GVM
Once you're done with the task associated with your module, you should unregister it from the VIM.
// First, create a proxy on the video input module if you haven't already // done it. ALPtr<ALProxy> cameraProxy = getParentBroker()->getProxy( "NaoCam" ); // Now you are able to unregister your GVM . cameraProxy->callVoid( "unsubscribe", GVM_name ); // Or use the specific video proxy for more efficiency : cameraProxy->unsubscribe(GVM_name);