#include <ariaUtil.h>
Java and Python Wrappers: Not available in Java or Python wrapper libraries.
Public Member Functions | |
| ArDaemonizer (int *argc, char **argv) | |
| Constructor that sets up for daemonizing if arg checking. | |
| bool | daemonize (void) |
| Daemonizes if asked too by arguments. | |
| bool | forceDaemonize (void) |
| Daemonizes always. | |
| bool | isDaemonized (void) |
| Returns if we're daemonized or not. | |
| void | logOptions (void) const |
| Logs the options. | |
| ~ArDaemonizer () | |
| Destructor. | |
Protected Attributes | |
| bool | myIsDaemonized |
| ArConstFunctorC< ArDaemonizer > | myLogOptionsCB |
| ArArgumentParser | myParser |
|
|
Daemonizes always. This returns true if daemonizing worked, returns false if it didn't... the parent process exits here if forking worked. |
1.4.2