/** * Notification when an object has been removed from state. * @param id The object id. * @param type The object type. */ public void objectRemoved(Object id, OAVObjectType type) { assert !running; running = true; state.getProfiler().start(IProfiler.TYPE_OBJECT, type); state.getProfiler().start(IProfiler.TYPE_OBJECTEVENT, IProfiler.OBJECTEVENT_REMOVED); node.removeObject(id, type, state, retemem, agenda); state.getProfiler().stop(IProfiler.TYPE_OBJECTEVENT, IProfiler.OBJECTEVENT_REMOVED); state.getProfiler().stop(IProfiler.TYPE_OBJECT, type); running = false; }
/** * Notification when an object has been removed from state. * @param id The object id. * @param type The object type. */ public void objectRemoved(Object id, OAVObjectType type) { assert !running; running = true; state.getProfiler().start(IProfiler.TYPE_OBJECT, type); state.getProfiler().start(IProfiler.TYPE_OBJECTEVENT, IProfiler.OBJECTEVENT_REMOVED); node.removeObject(id, type, state, retemem, agenda); state.getProfiler().stop(IProfiler.TYPE_OBJECTEVENT, IProfiler.OBJECTEVENT_REMOVED); state.getProfiler().stop(IProfiler.TYPE_OBJECT, type); running = false; }