Bull DPX/20 Guida Utente Pagina 380

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 424
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 379
5-12 SOMobjects Base Toolkit Programmers Reference
Manual
someProcessEvents Method
Purpose
Processes infinite events.
IDL Syntax
void someProcessEvents ( );
Description
This call loops forever waiting for events and dispatching them. The only way this can be
broken is by calling someShutdown in a callback routine. It is a programming error to call
this method without having registered interest in any events with EMan. Typically, a call to
this method is the last statement in the main program of an application.
Parameters
receiver A pointer to an object of class SOMEEMan.
ev A pointer to the Environment structure for the calling method.
Example
#include <eman.h>
main()
{
Environment *testEnv = somGetGlobalEnvironment();
SOMEEMan *some_gEMan = SOMEEManNew();
/* Do some registrations */
...
_someProcessEvents(some_gEMan, testEnv);
} /* end of main */
Original Class
SOMEEMan
Related Information
Methods: someProcessEvent, someRegister, someRegisterEv, someRegisterProc
Vedere la pagina 379
1 2 ... 375 376 377 378 379 380 381 382 383 384 385 ... 423 424

Commenti su questo manuale

Nessun commento