Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# TAO_QtResource_Factory Class Reference

TAO's default resource factory. More...

`#include <qt_resource.h>`

Inheritance diagram for TAO_QtResource_Factory:

[legend]
Collaboration diagram for TAO_QtResource_Factory:

[legend]
List of all members.

## Public Methods
| TAO_QtResource_Factory (void)
## Static Public Methods
void | set_context (QApplication *qapp)
| Set the context used to create the QtReactor. More...
## Protected Methods
virtual ACE_Reactor_Impl * | allocate_reactor_impl (void) const
| Obtain the reactor implementation. More...
## Static Private Attributes
QApplication * | qapp_ = 0

## Detailed Description

TAO's default resource factory.

Using a <{resource source specifier}> as a discriminator, the factory can return resource instances which are, e.g., global, stored in thread-specific storage, stored in shared memory, etc.

## Constructor & Destructor Documentation

ACE_INLINE TAO_QtResource_Factory::TAO_QtResource_Factory | ( | void |  | ) |

## Member Function Documentation

ACE_Reactor_Impl * TAO_QtResource_Factory::allocate_reactor_impl | ( | void |  | ) | const`[protected, virtual]`

| Obtain the reactor implementation. Reimplemented from TAO_Default_Resource_Factory.

void TAO_QtResource_Factory::set_context | ( | QApplication * | qapp | ) | `[static]`

| Set the context used to create the QtReactor.

## Member Data Documentation

QApplication * TAO_QtResource_Factory::qapp_ = 0`[static, private]`

The documentation for this class was generated from the following files:

- qt_resource.h
- qt_resource.cpp
- qt_resource.i