OmniEvents
channel.cc File Reference
#include <stdlib.h>
#include <signal.h>
#include <iostream.h>
#include <omniEvents/EventChannel.h>
Include dependency graph for channel.cc:

Go to the source code of this file.

Functions

void myShutdown (int signum)
 Signal handler. More...
 
int main (int argc, char **argv)
 The main process entry point. More...
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

The main process entry point.

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

Definition at line 54 of file channel.cc.

References OmniEvents::Orb::_orb, OmniEvents::Orb::_RootPOA, OmniEvents::EventChannel_i::activate(), OmniEvents::Orb::inst(), myShutdown(), orb, OmniEvents::Orb::resolveInitialReferences(), and OmniEvents::Orb::run().

◆ myShutdown()

void myShutdown ( int  signum)

Signal handler.

Definition at line 49 of file channel.cc.

References OmniEvents::Orb::inst(), and OmniEvents::Orb::shutdown().

Referenced by main().