Classes for Corba functionality.
More...Directories | |
directory | Objects |
directory | Parallel |
directory | tests |
Files | |
file | CorbaUtil.H [code] |
file | ImageOrbSK.cc [code] |
file | ImageOrbUtil.H [code] |
file | README.dxy [code] |
Classes for Corba functionality.
This is the implementations of Corba for the saliency code.
What is Corba?
CORBA is the acronym for Common Object Request Broker Architecture, OMG's open, vendor-independent architecture and infrastructure that computer applications use to work together over networks. Using the standard protocol IIOP, a CORBA-based program from any vendor, on almost any computer, operating system, programming language, and network, can interoperate with a CORBA-based program from the same or another vendor, on almost any other computer, operating system, programming language, and network.
For more info see http://www.omg.org/gettingstarted/corbafaq.htm
This implementation of corba is called omniorb and was obtained from http://omniorb.sourceforge.net/
src/Corba: Main directory contains various utility to deal with corba object as well as Image functions for transfer.
MakeIdl: will make the stubs for various idl files
ImageOrb.idl: idl file to handle the Image class
ImageOrbUtil.H: utility to convert from an Image class to corba type and vice versa
src/Corba/Objects: Contains the various corba objects
src/tests: tests the corba objects EchoImage: simple test to echo an image over the network
for a simple test see Objects/EchoImageServer and test/EchoImageClient
after compiling by make corba
Note that for this example to work the onminames needs to be running and configured properly. That is, the /etc/omniORB.cfg needs to be pointing to the same server.
How To Run The Tests: To Run the EchoImage
To run type bin/EchoImageServer on any server (even on the local server): The EchoImageServer will register itself with the corba name server and then go into daemon mode by detaching from the terminal. However if --debug is passed then the server would not detach from the terminal and would echo any info messages.
To send the image type EchoImageClinet <image> (where <image> is an image file like test.ppm)
for dependency graphs: rankdir: TB