Bull DPX/20 Guida Utente Pagina 379

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 424
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 378
Event Management Framework Reference 5-11
someProcessEvent Method
Purpose
Processes one event.
IDL Syntax
void someProcessEvent (
in unsigned long mask);
Description
Processes one event. This call is non-blocking. If there are no events to process it returns
immediately. The mask specifies which events to process. The mask is formed by OR’ing
the bit constants specified in the eventmsk.h file.
Parameters
receiver A pointer to an object of class SOMEEMan.
ev A pointer to the Environment structure for the calling method.
mask A bit mask indicating the types of events to look for and process.
Example
#include <eman.h>
main()
{
Environment *testEnv = somGetGlobalEnvironment();
SOMEEMan *some_gEMan = SOMEEManNew();
/* Do some registrations */
...
while (1) {
_someProcessEvent(some_gEMan, testEnv,
EMProcessTimerEvent |
EMProcessSinkEvent |
EMProcessClientEvent );
/*** Do other main loop work, if needed. ***/
}
} /* end of main */
Original Class
SOMEEMan
Related Information
Methods: someProcessEvents, someRegister, someRegisterEv, someRegisterProc
Vedere la pagina 378
1 2 ... 374 375 376 377 378 379 380 381 382 383 384 ... 423 424

Commenti su questo manuale

Nessun commento