Bull DPX/20 Podręcznik Użytkownika Strona 390

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 424
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 389
5-22 SOMobjects Base Toolkit Programmers 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
Przeglądanie stron 389
1 2 ... 385 386 387 388 389 390 391 392 393 394 395 ... 423 424

Komentarze do niniejszej Instrukcji

Brak uwag