[omniORB] GUI and OmniORB Event loop

Frédéric Prin frederic.prin@silvaco.com
Fri, 26 Oct 2001 13:57:05 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_004B_01C15E26.1860F4A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello all,

My app have a GUI and is a CORBA client/server.
What's the best solution to have a GUI main loop with the CORBA =
ORB::Run() loop running together in the same process of course ?

With ORBacus I use an API funtion :=20

    reactor  =3D GetX11Reactor() // return the CORBA message reactor=20

and then give the reactor reference to a special=20
    ORB_Init(....., reactor);

In this way, the CORBA loop also manage the GUI event without invoking =
the GUI main loop.

Is there a similar API in OmniORB ?

I'm not familiar with GUI main loop in UNIX app. If someone has an idea =
on how to do please fill free to tell me !

Thanks

| Fr=E9d=E9ric Prin - Senior software engineer
| Tel 04 56 38 10 33
| S I L V A C O    G . R E . C E


------=_NextPart_000_004B_01C15E26.1860F4A0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello all,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>My app have a GUI and is a CORBA=20
client/server.</FONT><FONT face=3DArial size=3D2></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>What's the best solution to have a GUI =
main loop=20
with the CORBA ORB::Run() loop running together in the same process of =
course=20
?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>With ORBacus I use an API funtion : =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; reactor&nbsp; =3D =
GetX11Reactor()=20
// return the CORBA message reactor </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>and then give the reactor reference to =
a special=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; ORB_Init(.....,=20
reactor);</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>In this way, the CORBA loop also manage =
the GUI=20
event without invoking the GUI main loop.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Is there a similar API in OmniORB =
?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm not familiar with GUI main loop in =
UNIX app. If=20
someone has an idea on how to do please fill free to tell me =
!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>| Fr=E9d=E9ric Prin - Senior software =
engineer<BR>| Tel=20
04 56 38 10 33<BR>| S I L V A C O&nbsp;&nbsp;&nbsp; G . R E . C=20
E<BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_004B_01C15E26.1860F4A0--