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 66 of file main.cc.

References OmniEvents::EventChannel_i::activate(), appendCriterion(), appendCriterionStr(), bindName2Object(), connect_cond(), Consumer_i::consume(), Consumer_i::Consumer_i(), OmniEvents::daemon, OmniEvents::Daemon::daemonize(), DB, OmniEvents::Daemon::foreground(), getChannel(), getopt(), HAVE_SIGNAL_H, Supplier_i::i, OmniEvents::insertArgs(), OmniEvents::Orb::inst(), Supplier_i::l, mutex, myShutdown(), NP_MINORSTRING, OmniEvents_Orb_bumpTraceLevel(), OmniEvents_Orb_shutdown(), optarg, optind, orb, OmniEvents::Daemon::pidfile(), OmniEvents::Daemon::runningOk(), str2name(), Supplier_i::Supplier_i(), Supplier_i::supply(), OmniEvents::Daemon::tracefile(), usage(), and OmniEvents::version().

Referenced by OmniEvents::Service::start().

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 317 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 312 of file main.cc.

References OmniEvents::Orb::inst().

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


Generated on Tue Jan 29 04:19:53 2008 for OmniEvents by  doxygen 1.5.4