Public Member Functions | Protected Member Functions | Private Attributes

TAO::FoxResource_Factory Class Reference

TAO_GUI_Resource_Factory for creating FoxReactor. More...

#include <FoxResource_Factory.h>

Inheritance diagram for TAO::FoxResource_Factory:
Inheritance graph
[legend]
Collaboration diagram for TAO::FoxResource_Factory:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 FoxResource_Factory (FXApp *app)

Protected Member Functions

virtual ACE_Reactor_Implreactor_impl (void)
 Create or obtain current reactor implementation.

Private Attributes

ACE_FoxReactorreactor_impl_
 Reactor created by this factory.
FXApp * fxapp_

Detailed Description

TAO_GUI_Resource_Factory for creating FoxReactor.

This factory is intended for creating FoxReactor for ORB. This factory can be feed into ORB using TAO_ORB_Core::set_gui_resource_factory method which is usually done by TAO_FoxResource_Loader.

Definition at line 40 of file FoxResource_Factory.h.


Constructor & Destructor Documentation

TAO::FoxResource_Factory::FoxResource_Factory ( FXApp *  app  ) 

Definition at line 6 of file FoxResource_Factory.cpp.

               : FoxResource_Factory.cpp 84443 2009-02-12 20:26:35Z johnnyw $");


Member Function Documentation

ACE_Reactor_Impl * TAO::FoxResource_Factory::reactor_impl ( void   )  [protected, virtual]

Create or obtain current reactor implementation.

Implements TAO::GUIResource_Factory.

Definition at line 13 of file FoxResource_Factory.cpp.

{

  FoxResource_Factory::FoxResource_Factory (FXApp *app)
    : reactor_impl_ (0)
    , fxapp_ (app)
  {
  }

  ACE_Reactor_Impl *
  FoxResource_Factory::reactor_impl (void)
  {
    if (this->fxapp_ == 0)
      return 0;

    // synchronized by external locks
    if (!this->reactor_impl_)
    {


Member Data Documentation

FXApp* TAO::FoxResource_Factory::fxapp_ [private]

Definition at line 56 of file FoxResource_Factory.h.

ACE_FoxReactor* TAO::FoxResource_Factory::reactor_impl_ [private]

Reactor created by this factory.

Definition at line 54 of file FoxResource_Factory.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines