TAO_PI
2.2.5
|
Implementation of the PortableInterceptor::Current interface. More...
#include <PICurrent.h>
Public Member Functions | |
PICurrent (TAO_ORB_Core &orb_core) | |
Constructor. More... | |
virtual CORBA::ORB_ptr | _get_orb (void) |
PortableInterceptor::SlotId | slot_count (void) const |
Number of slots allocated in the slot table. More... | |
PICurrent_Impl * | tsc (void) |
void | check_validity (const PortableInterceptor::SlotId &identifier) |
Verify the validity of the given SlotId. More... | |
void | initialize (PortableInterceptor::SlotId sc) |
Initialize the PICurrent object. More... | |
PortableInterceptor::Current Methods | |
These are methods exposed by the PortableInterceptor::Current interface. | |
virtual CORBA::Any * | get_slot (PortableInterceptor::SlotId id) |
virtual void | set_slot (PortableInterceptor::SlotId identifier, const CORBA::Any &data) |
Set information in the slot table at the given SlotId. More... | |
![]() | |
virtual TAO::ObjectKey * | _key (void) |
virtual CORBA::ULong | _hash (CORBA::ULong maximum) |
virtual CORBA::Boolean | _is_equivalent (CORBA::Object_ptr other_obj) |
virtual CORBA::Boolean | _non_existent (void) |
virtual InterfaceDef_ptr | _get_interface (void) |
virtual CORBA::Object_ptr | _get_component (void) |
virtual char * | _repository_id (void) |
virtual void | _create_request (CORBA::Context_ptr ctx, const char *operation, CORBA::NVList_ptr arg_list, CORBA::NamedValue_ptr result, CORBA::Request_ptr &request, CORBA::Flags req_flags) |
virtual void | _create_request (CORBA::Context_ptr ctx, const char *operation, CORBA::NVList_ptr arg_list, CORBA::NamedValue_ptr result, CORBA::ExceptionList_ptr exclist, CORBA::ContextList_ptr ctxtlist, CORBA::Request_ptr &request, CORBA::Flags req_flags) |
virtual CORBA::Request_ptr | _request (const char *operation) |
Protected Member Functions | |
virtual | ~PICurrent (void) |
Destructor. More... | |
Private Member Functions | |
PICurrent (const PICurrent &) | |
void | operator= (const PICurrent &) |
Private Attributes | |
TAO_ORB_Core & | orb_core_ |
Reference to the orb core. More... | |
size_t | tss_slot_ |
PortableInterceptor::SlotId | slot_count_ |
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.
TAO::PICurrent::PICurrent | ( | TAO_ORB_Core & | orb_core | ) |
Constructor.
|
protectedvirtual |
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.
|
private |
Prevent copying through the copy constructor and the assignment operator.
|
virtual |
Reimplemented from CORBA::Object.
void TAO::PICurrent::check_validity | ( | const PortableInterceptor::SlotId & | identifier | ) |
Verify the validity of the given SlotId.
|
virtual |
Retrieve information stored in the slot table at the given SlotId.
void TAO::PICurrent::initialize | ( | PortableInterceptor::SlotId | sc | ) |
Initialize the PICurrent object.
|
private |
Prevent copying through the copy constructor and the assignment operator.
|
virtual |
Set information in the slot table at the given SlotId.
|
inline |
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).
|
private |
Reference to the orb core.
|
private |
|
private |
TSS slot assigned to PICurrent_Impl objects in the OrbCore. Allocated by the orb_core_.add_tss_cleanup_func() when our initialize() method is called.