summaryrefslogtreecommitdiff
path: root/TAO/tao/QtResource_Factory.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/QtResource_Factory.h')
-rw-r--r--TAO/tao/QtResource_Factory.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/TAO/tao/QtResource_Factory.h b/TAO/tao/QtResource_Factory.h
index 7fe55dd87ab..5e9b78bf60b 100644
--- a/TAO/tao/QtResource_Factory.h
+++ b/TAO/tao/QtResource_Factory.h
@@ -21,12 +21,16 @@
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include <qapplication.h>
+#include "ace/QtReactor.h"
#include "tao/GUIResource_Factory.h"
namespace TAO
{
- /** TAO_GUI_Resource_Factory for creating QtReactor.
+ /**
+ * @class QtResource_Factory
+ *
+ * @brief TAO_GUI_Resource_Factory for creating QtReactor.
*
* This factory is intended for creating QtReactor for ORB. This
* factory can be feed into ORB using
@@ -36,8 +40,11 @@ namespace TAO
class TAO_QtResource_Export QtResource_Factory : public GUIResource_Factory
{
public:
+
QtResource_Factory (QApplication *qapp_);
+ protected:
+
/// Create or obtain current reactor implementation
virtual ACE_Reactor_Impl *reactor_impl (void);
@@ -48,6 +55,9 @@ namespace TAO
/// QApplication running reactor
QApplication *qapp_;
+
+ /// for internal locking.
+ TAO_SYNCH_MUTEX lock_;
};
}