Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

main.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 The main process entry point.
void OmniEvents_Orb_shutdown (int signum)
 Signal handler, sets Orb::_shutdownRequested.
void OmniEvents_Orb_bumpTraceLevel (int signum)
 Signal handler, each call to this method 'bumps' up the trace level by 5, modulo 45.


Function Documentation

int main int  argc,
char **  argv
 

The main process entry point.

Also serves as the 'ServiceMain' entry point on Windows.

Definition at line 65 of file main.cc.

References bindName2Object(), OmniEvents::daemon, OmniEvents::Daemon::daemonize(), DB, OmniEvents::Daemon::foreground(), getopt(), OmniEvents::insertArgs(), OmniEvents::Orb::inst(), NP_MINORSTRING, OmniEvents_Orb_bumpTraceLevel(), OmniEvents_Orb_shutdown(), optarg, optind, orb, OmniEvents::Daemon::pidfile(), OmniEvents::Daemon::runningOk(), str2name(), OmniEvents::Daemon::tracefile(), OmniEvents::usage(), and OmniEvents::version().

void OmniEvents_Orb_bumpTraceLevel int  signum  ) 
 

Signal handler, each call to this method 'bumps' up the trace level by 5, modulo 45.

Definition at line 316 of file main.cc.

References DB.

Referenced by OmniEvents::Service::ctrlHandler(), and main().

void OmniEvents_Orb_shutdown int  signum  ) 
 

Signal handler, sets Orb::_shutdownRequested.

The parameter is ignored. This method may be used as a signal handler.

Definition at line 311 of file main.cc.

References OmniEvents::Orb::inst().

Referenced by OmniEvents::Service::ctrlHandler(), and main().


Generated on Fri Aug 26 20:56:15 2005 for OmniEvents by  doxygen 1.4.3-20050530