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 Omniifr_Orb_shutdown (int signum)
 Signal handler, sets Orb::_shutdownRequested.
void Omniifr_Orb_bumpTraceLevel (int signum)
 Signal handler, each call to this method 'bumps' up the trace level by 5, modulo 45.
void Omniifr_Ifr_checkpoint (int signum)
 Signal handler, forces a checkpoint (saves IFR state to file).


Function Documentation

int main int  argc,
char **  argv
 

The main process entry point.

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

void Omniifr_Ifr_checkpoint int  signum  ) 
 

Signal handler, forces a checkpoint (saves IFR state to file).

Definition at line 194 of file main.cc.

References Omniifr::Persist::checkpoint(), DB, persist, and readonly.

Referenced by main().

00195   {
00196     if(readonly)
00197     {
00198       DB(1,"Checkpoint request ignored: Interface Repository is read only.")
00199     }
00200     else
00201     {
00202       DB(1,"Checkpoint requested.")
00203       assert(persist!=NULL);
00204       persist->checkpoint();
00205     }
00206   }

void Omniifr_Orb_bumpTraceLevel int  signum  ) 
 

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

Definition at line 188 of file main.cc.

References DB.

Referenced by main().

00189   {
00190     omniORB::traceLevel=(omniORB::traceLevel+5)%45;
00191     DB(0,"TRACE LEVEL BUMPED TO "<<omniORB::traceLevel<<" BY SIGNAL "<<signum)
00192   }

void Omniifr_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 182 of file main.cc.

References shutdownSemaphore().

Referenced by main().

00183   {
00184     // Wake up the main thread.
00185     shutdownSemaphore.post();
00186   }


Generated on Fri Mar 4 13:03:41 2005 for OmniIFR by  doxygen 1.4.1