#include <PICurrent.h>
Inheritance diagram for TAO::PICurrent:
Public Member Functions | |
PICurrent (TAO_ORB_Core *orb_core) | |
Constructor. | |
PortableInterceptor::SlotId | slot_count (void) const |
Number of slots allocated in the slot table. | |
PICurrent_Impl * | tsc (void) |
void | check_validity (const PortableInterceptor::SlotId &identifier ACE_ENV_ARG_DECL) |
Verify the validity of the given SlotId. | |
void | initialize (PortableInterceptor::SlotId sc) |
Initialize the PICurrent object. | |
PortableInterceptor::Current Methods | |
virtual CORBA::Any * | get_slot (PortableInterceptor::SlotId id ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException, PortableInterceptor::InvalidSlot) |
virtual void | set_slot (PortableInterceptor::SlotId identifier, 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 Member Functions | |
~PICurrent (void) | |
Destructor. | |
Private Member Functions | |
PICurrent (const PICurrent &) | |
void | operator= (const PICurrent &) |
Private Attributes | |
TAO_ORB_Core * | orb_core_ |
Pointer to the orb core. | |
PortableInterceptor::SlotId | slot_count_ |
The number of allocated slots. |
PortableInterceptor::Current is useful for passing data between request interceptors, in addition to passing data from an interceptor to the calling thread.
|
Constructor.
|
|
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. |
|
Prevent copying through the copy constructor and the assignment operator. |
|
Verify the validity of the given SlotId.
|
|
Retrieve information stored in the slot table at the given SlotId. |
|
Initialize the PICurrent object.
|
|
Prevent copying through the copy constructor and the assignment operator. |
|
Set information in the slot table at the given SlotId.
|
|
Number of slots allocated in the slot table.
|
|
Retrieve the PICurrent implementation from TSS, i.e. the thread scope current (TSC). |
|
Pointer to the orb core.
Reimplemented from CORBA::Object. |
|
The number of allocated slots.
|