Learning to Use CORBA With Orbacus-4.0.3
Revision 1.1: November 14, 2000
Revision 1.2: May 21, 2002
Jim Peterson
Introduction:
Building an ORB:
Building an ORB Programs Folder:
Our Directory Setup:
Our Typical Makefile Structure:
Using The Orbacus ORB:
Getting The Orbacus Programs:
The New idl Compiler:
New Makefiles:
MakeLibraryShared:
MakeServer2:
MakeClient2:
The Impl Code:
Server2.cpp
client2.cpp
RunTime:
Using Two ORBs:
Using the Orbacus Name Server:
The New Orbacus Server:
Getting the NameServer IOR: getIOR.cpp
Server Code: server2.cpp
The New Orbacus Client:
The New ORBit Client:
The RunTime Results:
Starting the Orbacus NameServer:
Starting the Orbacus Server:
Starting the Orbacus Client:
Using the Wrong Name: A Failed Orbacus Client:
Starting the ORBit Client:
Using the Wrong Name: A Failed ORBit Client:
using Factories In Orbacus:
A Simple Factory Example:
The New MyTime IDL:
The Implementation Header File:
The New Implementation Files:
The New Server:
The New Client:
The RunTime Results:
A More Sophisticated Factory Example:
The New Interface: Polygons.idl:
The New Implementation Header File:
Modifications to the Implementation Code:
Changes to the Circle Class:
Changes to the Triangle Class:
The New Implementation Files:
The New Server:
The New Client:
The RunTime Results:
Using Legacy Neural Network Code with CORBA:
Using The FFN Objects:
The File input_base.cfg:
The File input.cfg:
Converting To CORBA:
The NeuralNetworks Interface: NeuralNets.idl
Implementing the Interface:
The Header File: NeuralNets_impl.h:
The Implementation File: NeuralNets_impl.cpp:
The New Server:
The New Client:
The Run Time Results:
Start the Name Server:
Start the Server:
Start the Client:
Running The FFN Application on Multiple Nodes:
New Code:
The New Server:
The Makefile: MakeServer2
The Code:
The New Client:
The New Makefile: MakeClient2:
The New Code:
The Unbind Code:
The New Makefile: MakeServer2Unbind:
The Unbind Code:
The Run Time:
Start the Name Server:
Start the Server on
architeuthus
:
Unbind the Served Object:
Restart the Server on
architeuthus
:
Run the Client on
shortstuff
:
What The Server on
architeuthus
Shows:
RunTime Deja Vu:
Generating the Server on
albert
:
Starting the Name Server on
albert
:
Start the server on
albert
:
Unbinding the Server Name on
albert
:
Restart the server on
albert
:
Run a client on
architeuthus
:
A Chat Room Example:
The Interface Descriptions:
Receiver.idl:
Broadcaster.idl:
The Implementation Code:
The Broadcaster Implementation:
Broadcaster_impl.h:
Broadcaster_impl.cpp:
The Broadcaster Factory Implementation:
BroadcasterAdmin_impl.h:
BroadcasterAdmin_impl.cpp:
The Receiver Implementation:
Receiver_impl.h:
Receiver_impl.cpp:
The Receiver Factory Implementation:
ReceiverBase_impl.h:
ReceiverBase_impl.cpp:
How Do We Use the Chat Room?
Some Run Time Results:
Starting the Server:
Chatting:
A simple Redesign of the Chat Room:
Integrating Graphics with CORBA:
Implementing The Dynamic Programming Objects:
The Header File: dp.h:
The Header File: voidgraph0.h:
The Header File: vedge.h:
The Header File: vnode.h:
The Header File: vedgeptrbag.h:
The Header File: vnodeptrbag.h:
Using the DP Class Objects:
Typical Run Time Code: No Graphical Interface:
Typical Run Time Code: A Graphical Interface:
The X Simulation Data Structures: sim.h
The X Simulation: sim.c
The X Callback To Initiate the Computations: run.c
Converting To CORBA:
The Paths Interface: Paths.idl
Implementing the Interface:
The Header File: Paths_impl.h:
The Implementation File: Paths_impl.cpp:
The New Server:
The New Client:
The Run Time Results:
Start the Name Server:
Start the Server:
Start the Client:
Annotated References:
This document was translated from L
A
T
E
X by
H
E
V
E
A and H
A
C
H
A
.