TAO 4.0.2
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | List of all members
TAO_TSS_Resources Class Reference

The TSS resoures shared by all the ORBs. More...

#include <TSS_Resources.h>

Collaboration diagram for TAO_TSS_Resources:
Collaboration graph
[legend]

Public Member Functions

 TAO_TSS_Resources ()
 Constructor.
 
 ~TAO_TSS_Resources ()
 Destructor.
 

Static Public Member Functions

static TAO_TSS_Resourcesinstance ()
 Return a singleton instance of this class.
 

Public Attributes

void * poa_current_impl_
 
void * rtscheduler_current_impl_
 
void * rtscheduler_previous_current_impl_
 
CORBA::Short rtcorba_current_priority_
 
CORBA::Environmentdefault_environment_
 The default environment for the thread.
 
CORBA::Environment tss_environment_
 
TAO::GUIResource_Factorygui_resource_factory_
 A factory for creating GUIReactors.
 

Private Member Functions

 TAO_TSS_Resources (const TAO_TSS_Resources &)
 Do not copy TSS resources.
 
void operator= (const TAO_TSS_Resources &)
 

Detailed Description

The TSS resoures shared by all the ORBs.

This class is used by TAO to store the resources that are thread-specific but are not ORB specific. The members are public because only the ORB Core is expected to access them.

Constructor & Destructor Documentation

◆ TAO_TSS_Resources() [1/2]

TAO_TSS_Resources::TAO_TSS_Resources ( )

Constructor.

◆ ~TAO_TSS_Resources()

TAO_TSS_Resources::~TAO_TSS_Resources ( )

Destructor.

◆ TAO_TSS_Resources() [2/2]

TAO_TSS_Resources::TAO_TSS_Resources ( const TAO_TSS_Resources & )
private

Do not copy TSS resources.

Member Function Documentation

◆ instance()

TAO_TSS_Resources * TAO_TSS_Resources::instance ( )
static

Return a singleton instance of this class.

◆ operator=()

void TAO_TSS_Resources::operator= ( const TAO_TSS_Resources & )
private

Member Data Documentation

◆ default_environment_

CORBA::Environment* TAO_TSS_Resources::default_environment_

The default environment for the thread.

◆ gui_resource_factory_

TAO::GUIResource_Factory* TAO_TSS_Resources::gui_resource_factory_

A factory for creating GUIReactors.

GUIResource_Factory has to be stored in TSS, as GUIReactors are operational only in within the context of GUI event loops.

◆ poa_current_impl_

void* TAO_TSS_Resources::poa_current_impl_

Points to structure containing state for the current upcall context in this thread. Note that it does not come from the resource factory because it must always be held in thread-specific storage. For now, since TAO_ORB_Core instances are TSS singletons, we simply ride along and don't allocate occupy another TSS slot since there are some platforms where those are precious commodities (e.g., NT).

◆ rtcorba_current_priority_

CORBA::Short TAO_TSS_Resources::rtcorba_current_priority_

The CORBA priority of the thread if set via RTCORBA::Current. RTCORBA::minPriority - 1 otherwise.

◆ rtscheduler_current_impl_

void* TAO_TSS_Resources::rtscheduler_current_impl_

◆ rtscheduler_previous_current_impl_

void* TAO_TSS_Resources::rtscheduler_previous_current_impl_

◆ tss_environment_

CORBA::Environment TAO_TSS_Resources::tss_environment_

If the user (or library) provides no environment the ORB_Core still holds one.


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