summaryrefslogtreecommitdiff
path: root/TAO/tao/XtResource_Loader.h
diff options
context:
space:
mode:
authormbrudka <mbrudka@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-01-22 19:00:49 +0000
committermbrudka <mbrudka@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-01-22 19:00:49 +0000
commit89cc09fe1f27e1aa6f68baaee74657f5c0d5bf4e (patch)
tree84676127d8f737fdc9d4cec1191f3fdcca27ffed /TAO/tao/XtResource_Loader.h
parent77ee6b9e340ca3f46e3c214eb98d14961cb4f906 (diff)
downloadATCD-REACTOR_SEPARATION.tar.gz
ChangeLogTag: Sat Jan 22 19:57:16 2005 Marek Brudka <mbrudka@aster.pl>REACTOR_SEPARATION
Diffstat (limited to 'TAO/tao/XtResource_Loader.h')
-rw-r--r--TAO/tao/XtResource_Loader.h26
1 files changed, 16 insertions, 10 deletions
diff --git a/TAO/tao/XtResource_Loader.h b/TAO/tao/XtResource_Loader.h
index 6641be0d314..f3e809ab1ed 100644
--- a/TAO/tao/XtResource_Loader.h
+++ b/TAO/tao/XtResource_Loader.h
@@ -11,11 +11,11 @@
*/
//=============================================================================
-#ifndef _TAO_XTRESOURCE_LOADER_H
-#define _TAO_XTRESOURCE_LOADER_H
+#ifndef TAO_XTRESOURCE_LOADER_H
+#define TAO_XTRESOURCE_LOADER_H
#include /**/ "ace/pre.h"
-#include /**/ "TAO_XtResource_Export.h"
#include /**/ <X11/Intrinsic.h>
+#include "tao/TAO_XtResource_Export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
@@ -23,22 +23,28 @@
namespace TAO
{
- /** Loads TAO resources related with Xt.
+ /**
+ * @class XtResource_Loader
*
- * This class changes the default reactor implementation into ACE_XtReactor by
- * calling TAO_ORB_Core::set_gui_resource_factory. Please notice, this class has
- * to be created in the main Xt thread, because set_gui_resource_factory creates
- * a variable in TSS. This way XtReactor is instantiated only in Xt event loop thread.
+ * @brief Loads TAO resources related with Xt.
*
+ * This class changes the default reactor implementation into
+ * ACE_XtReactor one by calling TAO_ORB_Core::set_gui_resource_factory.
+ * User should create an instance of this class before ORB_init
+ * when the TAO server has has to be integrated within Xt event loop.
+ *
+ * Please notice, this class has to be created in the main Xt thread,
+ * because set_gui_resource_factory creates a variable in TSS. This way
+ * XtReactor is instantiated only in Xt event loop thread.
*/
class TAO_XtResource_Export XtResource_Loader
{
public:
XtResource_Loader (XtAppContext context);
- virtual ~XtResource_Loader ();
+ virtual ~XtResource_Loader ();
};
}
#include /**/ "ace/post.h"
-#endif /* _TAO_XTRESOURCE_LOADER_H */
+#endif /* TAO_XTRESOURCE_LOADER_H */