events.cc File Reference

#include <unistd.h>
#include <iostream>
#include <stdlib.h>
#include <stdio.h>
#include <signal.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

Defines

#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

char * optarg
int optind
CORBA::ORB_ptr orb

Define Documentation

#define BILLION   1000000000

Definition at line 86 of file events.cc.

#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

char* optarg
int optind
CORBA::ORB_ptr orb

Definition at line 78 of file events.cc.


Generated on Mon Sep 28 05:10:18 2009 for OmniEvents by  doxygen 1.6.1