Bull DPX/20 Uživatelská příručka Strana 389

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 424
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 388
Event Management Framework Reference 5-21
someShutdown Method
Purpose
Shuts down an EMan event loop. (That is, this makes the someProcessEvents return!)
IDL Syntax
void someShutdown ( );
Description
This can be called from a callback routine to break the someProcessEvents loop.
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>
SOMEEMan *some_gEMan;
void MyCallBack(SOMEEvent *event, void *somedata){
...
_someShutdown(some_gEMan, env);
}
main()
{
Environment *testEnv = somGetGlobalEnvironment();
SOMEEMan *some_gEMan = SOMEEManNew();
/* Do some registrations. At least one involving MyCallBack */
...
_someProcessEvents(some_gEMan, testEnv);
}
Original Class
SOMEEMan
Related Information
Methods: someProcessEvents
Zobrazit stránku 388
1 2 ... 384 385 386 387 388 389 390 391 392 393 394 ... 423 424

Komentáře k této Příručce

Žádné komentáře