#include <TkResource_Factory.h>
Inheritance diagram for TAO::TkResource_Factory:


Public Member Functions | |
| TkResource_Factory () | |
Protected Member Functions | |
| virtual ACE_Reactor_Impl * | reactor_impl (void) |
| Create or obtain current reactor implementation. | |
Private Attributes | |
| ACE_TkReactor * | reactor_impl_ |
| Reactor created by this factory. | |
| TAO_SYNCH_MUTEX | lock_ |
| for internal locking. | |
This factory is intended for creating TkReactor for ORB. This factory can be feed into ORB using TAO_ORB_Core::set_gui_resource_factory method which is usually done by TAO_TkResource_Loader.
Definition at line 40 of file TkResource_Factory.h.
|
|
Definition at line 17 of file TkResource_Factory.cpp.
00018 : reactor_impl_ (0) 00019 { 00020 } |
|
|
Create or obtain current reactor implementation.
Implements TAO::GUIResource_Factory. Definition at line 23 of file TkResource_Factory.cpp. References ACE_DEBUG, ACE_NEW_RETURN, LM_DEBUG, and TAO_debug_level.
00024 {
00025 // synchronized by external locks
00026 if (!this->reactor_impl_)
00027 {
00028 ACE_NEW_RETURN (this->reactor_impl_,
00029 ACE_TkReactor (),
00030 0);
00031
00032 if (TAO_debug_level > 0)
00033 ACE_DEBUG ((LM_DEBUG,
00034 "TAO (%P|%t) - ACE_TkReactor created \n"));
00035 }
00036
00037 return this->reactor_impl_;
00038 }
|
|
|
for internal locking.
Reimplemented from TAO::GUIResource_Factory. Definition at line 57 of file TkResource_Factory.h. |
|
|
Reactor created by this factory.
Definition at line 54 of file TkResource_Factory.h. |
1.3.6