OmniEvents
events.cc File Reference
#include "getopt.h"
#include <iostream.h>
#include <stdio.h>
#include "CosEventComm.hh"
#include "CosEventChannelAdmin.hh"
#include "naming.h"
Include dependency graph for events.cc:

Go to the source code of this file.

Classes

class  Time
class  Consumer_i
class  Supplier_i

Macros

#define STDIN_FILENO   0
#define STDOUT_FILENO   1
#define BILLION   1000000000

Functions

static void usage (int argc, char **argv)
int main (int argc, char **argv)
 The main process entry point.

Variables

CORBA::ORB_ptr orb

Macro Definition Documentation

#define BILLION   1000000000

Definition at line 86 of file events.cc.

Referenced by Time::operator+=(), and Time::operator-=().

#define STDIN_FILENO   0

Definition at line 74 of file events.cc.

Referenced by OmniEvents::DaemonImpl::redirectStreamsTo(), and Supplier_i::supply().

#define STDOUT_FILENO   1

Definition at line 75 of file events.cc.

Referenced by Consumer_i::push(), and OmniEvents::DaemonImpl::redirectStreamsTo().

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 295 of file events.cc.

References Consumer_i::consume(), getopt(), optarg, optind, orb, str2name(), Supplier_i::supply(), and usage().

static void usage ( int  argc,
char **  argv 
)
static

Definition at line 432 of file events.cc.

Referenced by main().

Variable Documentation

CORBA::ORB_ptr orb

Definition at line 78 of file events.cc.