Process().
WBA_Application::WBA_Application.
| WBA_Application | public |
Daemonize(), Initialize(), Process(), and Finalize().
Returns WBA_Application::exitCode.
Call Process() infinitely until continueProcessing is false.
virtual void Daemonize(void)
Perform the system-specific daemonization. For Unices, this function
does a double fork, becomes the session leader, sets its working
directory to the root directory, and clears its umask. For non-Unices,
it does nothing. Derived classes wishing to daemonize only on certain
conditions should over-ride Daemonize() with their own version.
virtual void Process(void)
Perform the main functionality of the daemon. Note that this function
will be called infinitely until continueProcessing is set to
false. This function is also responsible for setting
WBA_Application::exitCode.
long GetContinueProcessing()
Get the current value of continueProcessing.
void SetContinueProcessing(const GPL_Boolean s)
Set the value of continueProcessing to s.
WBA_Daemon::Main().