5-22 SOMobjects Base Toolkit Programmer’s Reference
Manual
someUnRegister Method
Purpose
Unregisters the event interest associated with a specified registrationId within EMan.
IDL Syntax
void someUnRegister (
in long registrationId);
Description
When an application is no longer interested in a given event, it can unregister the event
interest from EMan. EMan will stop making callbacks on this event, even if the event source
continues to be active and generates events.
Parameters
receiver A pointer to an object of class SOMEEMan.
ev A pointer to the Environment structure for the calling method.
registrationId The registration ID of the event that needs to be unregistered.
Example
#include <eman.h>
long regId1;
...
/* Register a timer */
regId1 = _someRegisterEv( some_gEMan,env, data, target,targetEv,
”eventMethod”, ”Timer 100” );
....
/* Unregister the timer */
_someUnRegister(some_gEMan, env, regId1);
Original Class
SOMEEMan
Related Information
Methods: someRegister, someRegisterEv, someRegisterProc
Komentarze do niniejszej Instrukcji