TAO_GUI_Resource_Factory for creating QtReactor. More...
#include <QtResource_Factory.h>
Public Member Functions | |
QtResource_Factory (QApplication *qapp_) | |
Protected Member Functions | |
virtual ACE_Reactor_Impl * | reactor_impl (void) |
Create or obtain current reactor implementation. | |
Private Attributes | |
ACE_QtReactor * | reactor_impl_ |
Reactor created by this factory. | |
QApplication * | qapp_ |
QApplication running reactor. |
TAO_GUI_Resource_Factory for creating QtReactor.
This factory is intended for creating QtReactor for ORB. This factory can be feed into ORB using TAO_ORB_Core::set_gui_resource_factory method which is usually done by TAO_QtResource_Loader.
Definition at line 42 of file QtResource_Factory.h.
TAO::QtResource_Factory::QtResource_Factory | ( | QApplication * | qapp_ | ) |
Definition at line 5 of file QtResource_Factory.cpp.
: QtResource_Factory.cpp 84443 2009-02-12 20:26:35Z johnnyw $");
ACE_Reactor_Impl * TAO::QtResource_Factory::reactor_impl | ( | void | ) | [protected, virtual] |
Create or obtain current reactor implementation.
Implements TAO::GUIResource_Factory.
Definition at line 12 of file QtResource_Factory.cpp.
{ QtResource_Factory::QtResource_Factory (QApplication *qapp) : reactor_impl_ (0) , qapp_ (qapp) { } ACE_Reactor_Impl * QtResource_Factory::reactor_impl (void) { // synchronized by external locks if (this->qapp_ == 0) { ACE_ERROR ((LM_ERROR, "TAO (%P|%t) - QApplication is undefined.", " Cannot create ACE_QtReactor\n")); return 0; } if (!this->reactor_impl_) { ACE_NEW_RETURN (this->reactor_impl_,
QApplication* TAO::QtResource_Factory::qapp_ [private] |
QApplication running reactor.
Definition at line 59 of file QtResource_Factory.h.
ACE_QtReactor* TAO::QtResource_Factory::reactor_impl_ [private] |
Reactor created by this factory.
Definition at line 56 of file QtResource_Factory.h.