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

TAO::PICurrent Class Reference

Implementation of the PortableInterceptor::Current interface. More...

#include <PICurrent.h>

Inheritance diagram for TAO::PICurrent:

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

Collaboration graph
[legend]
List of all members.

Public Methods

 PICurrent (TAO_ORB_Core *orb_core)
 Constructor.

PortableInterceptor::SlotId slot_count (void) const
 Number of slots allocated in the slot table.

PICurrent_Impltsc (void)
void check_validity (const PortableInterceptor::SlotId &id ACE_ENV_ARG_DECL)
 Verify the validity of the given SlotId.

void initialize (PortableInterceptor::SlotId sc)
 Initialize the PICurrent object.

PortableInterceptor::Current Methods
These are methods exposed by the PortableInterceptor::Current interface.

virtual CORBA::Anyget_slot (PortableInterceptor::SlotId id ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableInterceptor::InvalidSlot)
virtual void set_slot (PortableInterceptor::SlotId id, const CORBA::Any &data ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableInterceptor::InvalidSlot)
 Set information in the slot table at the given SlotId.


Protected Methods

 ~PICurrent (void)
 Destructor.


Private Methods

 PICurrent (const PICurrent &)
void operator= (const PICurrent &)

Private Attributes

TAO_ORB_Coreorb_core_
 Pointer to the orb core.

PortableInterceptor::SlotId slot_count_
 The number of allocated slots.


Detailed Description

Implementation of the PortableInterceptor::Current interface.

PortableInterceptor::Current is useful for passing data between request interceptors, in addition to passing data from an interceptor to the calling thread.


Constructor & Destructor Documentation

TAO::PICurrent::PICurrent TAO_ORB_Core   orb_core
 

Constructor.

TAO::PICurrent::~PICurrent void    [protected]
 

Destructor.

Protected destructor to enforce the fact this class is reference counted, and should not be destroyed using delete() by anything other than the reference counting mechanism.

TAO::PICurrent::PICurrent const PICurrent &    [private]
 

Prevent copying through the copy constructor and the assignment operator.


Member Function Documentation

ACE_INLINE void TAO::PICurrent::check_validity const PortableInterceptor::SlotId &id    ACE_ENV_ARG_DECL
 

Verify the validity of the given SlotId.

CORBA::Any * TAO::PICurrent::get_slot PortableInterceptor::SlotId id    ACE_ENV_ARG_DECL_WITH_DEFAULTS throw (CORBA::SystemException, PortableInterceptor::InvalidSlot) [virtual]
 

Retrieve information stored in the slot table at the given SlotId.

Implements PortableInterceptor::Current.

ACE_INLINE void TAO::PICurrent::initialize PortableInterceptor::SlotId    sc
 

Initialize the PICurrent object.

void TAO::PICurrent::operator= const PICurrent &    [private]
 

Prevent copying through the copy constructor and the assignment operator.

void TAO::PICurrent::set_slot PortableInterceptor::SlotId    id,
const CORBA::Any &data    ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException, PortableInterceptor::InvalidSlot) [virtual]
 

Set information in the slot table at the given SlotId.

Implements PortableInterceptor::Current.

ACE_INLINE PortableInterceptor::SlotId TAO::PICurrent::slot_count void    const
 

Number of slots allocated in the slot table.

TAO::PICurrent_Impl * TAO::PICurrent::tsc void   
 

Retrieve the PICurrent implementation from TSS, i.e. the thread scope current (TSC).


Member Data Documentation

TAO_ORB_Core* TAO::PICurrent::orb_core_ [private]
 

Pointer to the orb core.

Reimplemented from CORBA::Object.

PortableInterceptor::SlotId TAO::PICurrent::slot_count_ [private]
 

The number of allocated slots.


The documentation for this class was generated from the following files:
Generated on Fri Apr 2 17:46:35 2004 for TAO by doxygen1.2.18