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. More...
 

Variables

CORBA::ORB_ptr orb
 

Macro Definition Documentation

◆ BILLION

#define BILLION   1000000000

Definition at line 86 of file events.cc.

◆ STDIN_FILENO

#define STDIN_FILENO   0

Definition at line 74 of file events.cc.

◆ STDOUT_FILENO

#define STDOUT_FILENO   1

Definition at line 75 of file events.cc.

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

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

◆ usage()

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

Definition at line 432 of file events.cc.

Referenced by main().

Variable Documentation

◆ orb

CORBA::ORB_ptr orb

Definition at line 78 of file events.cc.

Referenced by Consumer_i::disconnect_push_consumer(), and main().