#include <PICurrent.h>
Collaboration diagram for TAO::PICurrent_Impl:
Public Types | |
typedef ACE_Array_Base< CORBA::Any > | Table |
Typedef for the underyling "slot table.". | |
Public Member Functions | |
PICurrent_Impl (void) | |
Constructor. | |
~PICurrent_Impl (void) | |
Destructor. | |
CORBA::Any * | get_slot (PortableInterceptor::SlotId identifier ACE_ENV_ARG_DECL) throw (CORBA::SystemException, PortableInterceptor::InvalidSlot) |
void | set_slot (PortableInterceptor::SlotId identifier, const CORBA::Any &data ACE_ENV_ARG_DECL) throw (CORBA::SystemException, PortableInterceptor::InvalidSlot) |
Set information in the slot table at the given SlotId. | |
void | copy_callback (PICurrent_Copy_Callback *cb) |
void | destruction_callback (PICurrent_Impl *p) |
void | execute_destruction_callback (Table *old_lc_slot_table) |
Table & | slot_table (void) |
Return a reference to the underlying slot table. | |
Table & | current_slot_table (void) |
void | lc_slot_table (PICurrent_Impl *p) |
Logically (shallow) copy the given slot table. | |
Table * | lc_slot_table (void) const |
Return pointer to the logically copied slot table. | |
Private Member Functions | |
PICurrent_Impl (const PICurrent_Impl &) | |
void | operator= (const PICurrent_Impl &) |
Private Attributes | |
Table | slot_table_ |
Array of CORBA::Anys that is the underlying "slot table.". | |
Table * | lc_slot_table_ |
PICurrent_Copy_Callback * | copy_callback_ |
PICurrent_Impl * | destruction_callback_ |
This class implements both the "request scope current" and the "thread scope current" objects as required by Portable Interceptors.
|
Typedef for the underyling "slot table.".
|
|
Constructor.
|
|
Destructor.
|
|
|
|
Set the PICurrent copy callback object responsible for deep copying the source PICurrent's slot table. |
|
|
|
Set the PICurrent destruction callback object that will be notified of this object's destruction. |
|
|
|
Retrieve information stored in the slot table at the given SlotId. |
|
Return pointer to the logically copied slot table.
|
|
Logically (shallow) copy the given slot table.
|
|
|
|
Set information in the slot table at the given SlotId.
|
|
Return a reference to the underlying slot table.
|
|
Callback object responsible for performing deep copies of a PICurrent's slot table. |
|
PICurrent_Impl object that will be notified of this object's destruction. |
|
Table that was logically copied from a PICurrent in another scope, i.e. either the request scope or the thread scope. |
|
Array of CORBA::Anys that is the underlying "slot table.".
|