| HDK
    | 
Event generator to poll for completed tasks. More...
 Inheritance diagram for HDK_Sample::BackgroundTimer:
 Inheritance diagram for HDK_Sample::BackgroundTimer:| Public Member Functions | |
| BackgroundTimer () | |
| ~BackgroundTimer () override | |
| const char * | getClassName () const override | 
| int | getPollTime () override | 
| Poll time is in ms, so poll every 0.5 seconds.  More... | |
| int | processEvents () override | 
| This callback is used to process events.  More... | |
|  Public Member Functions inherited from FS_EventGenerator | |
| FS_EventGenerator () | |
| virtual | ~FS_EventGenerator () | 
| virtual int | getFileDescriptor () | 
| virtual bool | areEventsWaiting () | 
| int | installGenerator () | 
| void | uninstallGenerator () | 
| void | pollEventLoop (bool drain_queue=true) | 
| Static Public Member Functions | |
| static void | stopPolling () | 
| Stop polling process.  More... | |
| static void | startPolling () | 
| Start polling process.  More... | |
|  Static Public Member Functions inherited from FS_EventGenerator | |
| static void | setInstaller (FS_EventInstaller installer) | 
| static void | setEventLoopPollCallback (FS_PollCallback callback) | 
| static bool | isEventLoopPollCallbackSet () | 
Event generator to poll for completed tasks.
When Houdini has an opportunity, it will call this class to process any events. Ideally, we would use the FS_EventGenerator::getFileDescriptor() method to return a file descriptor which allows a select() call to be used rather than a polling process. However, in this case, we need to poll the background processes.
Definition at line 151 of file FS_Background.C.
| 
 | inline | 
Definition at line 153 of file FS_Background.C.
| 
 | inlineoverride | 
Definition at line 154 of file FS_Background.C.
| 
 | inlineoverridevirtual | 
Implements FS_EventGenerator.
Definition at line 156 of file FS_Background.C.
| 
 | inlineoverridevirtual | 
Poll time is in ms, so poll every 0.5 seconds.
Reimplemented from FS_EventGenerator.
Definition at line 160 of file FS_Background.C.
| 
 | inlineoverridevirtual | 
This callback is used to process events.
Implements FS_EventGenerator.
Definition at line 163 of file FS_Background.C.
| 
 | inlinestatic | 
Start polling process.
Definition at line 189 of file FS_Background.C.
| 
 | inlinestatic |