Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

main.cc File Reference

#include "getopt.h"
#include "main.h"
#include "omniEvents.h"
#include "naming.h"
#include "omniEventsLog.h"
#include "EventChannelFactory.h"
#include "Orb.h"
#include "daemon.h"
#include <stdio.h>

Include dependency graph for main.cc:

Include dependency graph

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 The main process entry point. More...

void OmniEvents_Orb_shutdown (int signum)
 Signal handler, sets Orb::_shutdownRequested. More...

void OmniEvents_Orb_bumpTraceLevel (int signum)
 Signal handler, each call to this method 'bumps' up the trace level by 5, modulo 45. More...


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

References bindName2Object(), OmniEvents::daemon, OmniEvents::Daemon::daemonize(), DB, OmniEvents::Daemon::foreground(), getopt(), OmniEvents::insertArgs(), NP_MINORSTRING, OmniEvents_Orb_bumpTraceLevel(), OmniEvents_Orb_shutdown(), OmniEvents::Daemon::pidfile(), OmniEvents::Daemon::runningOk(), str2name(), OmniEvents::Daemon::tracefile(), 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 312 of file main.cc.

References DB.

Referenced by 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 307 of file main.cc.

References OmniEvents::Orb::inst().

Referenced by main().


Generated on Fri Nov 19 17:42:25 2004 for OmniEvents by doxygen1.2.15