| Home | ![]() |
The QtCorba class integrates the Qt and CORBA event loops. More...
#include <qtcorba.h>
The QtCorba class integrates the Qt and CORBA event loops.
For an overview of the QtCorba framework, see overview.html.
The QtCorba base class does nothing on its own. You must either use one of the example subclasses: QtCorbaTAO (for ACE/TAO) or QtCorbaMico (for Mico), or create your own QtCorba subclass.
If you implement your own QtCorba subclass you must reimplement corbaWorkPending() and corbaPerformWork() to call your ORB's appropriate work_pending() and perform_work() functions.
The default QtCorba implementation calls corbaPerformWork() periodically; how often is controlled by the setPollingInterval() function.
If you want to call corbaPerformWork() in a different way, for example by the use of a QSocketNotifier, you will need to reimplement the init() function: See the QtCorbaTAO class for an example of this approach.
This enumerated type is used by QtCorba to determine whether it should act as a server or as a client.
See also init().
Call this function to allow the CORBA event loop to do its magic. You will normally not have to call this function in a program that uses QtCorba.
Do make sure to reimplement this function to call CORBA::ORB_var::perform_work() when creating your own QtCorba subclass.
See also corbaWorkPending().
Call this function to check if there are any pending events waiting to be processed by the CORBA event loop. You should call corbaPerformWork() if this function returns TRUE. You will normally not have to call this function in a program that uses QtCorba.
Do make sure to reimplement this function to call CORBA::ORB_var::perform_work() when creating your own QtCorba subclass.
See also corbaPerformWork().
See also corbaWorkPending(), corbaPerformWork(), and setPollingInterval().
See also setPollingInterval() and init().
See also pollingInterval(), corbaWorkPending(), corbaPerformWork(), and init().
This file is part of the Qt Solutions.
Copyright © 2003-2005
Trolltech. All Rights Reserved.
| Copyright © 2003-2005 Trolltech | Trademarks | Qt Solutions
|