Bull DPX/20 Guia do Utilizador Página 380

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 424
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 379
1 2 ... 375 376 377 378 379 380 381 382 383 384 385 ... 423 424

Comentários a estes Manuais

Sem comentários