Bull DPX/20 Betriebsanweisung Seite 380

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 424
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 379
1 2 ... 375 376 377 378 379 380 381 382 383 384 385 ... 423 424

Kommentare zu diesen Handbüchern

Keine Kommentare