
Public Member Functions | |
| BackgroundTimer () | |
| virtual | ~BackgroundTimer () |
| virtual const char * | getClassName () const |
| virtual int | getPollTime () |
| Poll time is in ms, so poll every 0.5 seconds. | |
| virtual int | processEvents () |
| This callback is used to process events. | |
Static Public Member Functions | |
| static void | stopPolling () |
| Stop polling process. | |
| static void | startPolling () |
| Start polling process. | |
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.
| HDK_Sample::BackgroundTimer::BackgroundTimer | ( | ) | [inline] |
| virtual HDK_Sample::BackgroundTimer::~BackgroundTimer | ( | ) | [inline, virtual] |
| virtual const char* HDK_Sample::BackgroundTimer::getClassName | ( | ) | const [inline, virtual] |
Implements FS_EventGenerator.
Definition at line 156 of file FS_Background.C.
| virtual int HDK_Sample::BackgroundTimer::getPollTime | ( | ) | [inline, virtual] |
Poll time is in ms, so poll every 0.5 seconds.
Reimplemented from FS_EventGenerator.
Definition at line 159 of file FS_Background.C.
| virtual int HDK_Sample::BackgroundTimer::processEvents | ( | ) | [inline, virtual] |
This callback is used to process events.
Implements FS_EventGenerator.
Definition at line 162 of file FS_Background.C.
| static void HDK_Sample::BackgroundTimer::startPolling | ( | ) | [inline, static] |
Start polling process.
Definition at line 188 of file FS_Background.C.
| static void HDK_Sample::BackgroundTimer::stopPolling | ( | ) | [inline, static] |
1.5.9