#include <PICurrent_Impl.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) throw (CORBA::SystemException, PortableInterceptor::InvalidSlot) |
void | set_slot (PortableInterceptor::SlotId identifier, const CORBA::Any &data) 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) |
Execute the destruction callback object. | |
Table & | slot_table (void) |
Return a reference to the underlying slot table. | |
Table & | current_slot_table (void) |
bool | 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.
|
|
Prevent copying through the copy constructor and the assignment operator. |
|
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. |
|
Execute the destruction callback object.
|
|
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.
|
|
Prevent copying through the copy constructor and the assignment operator. |
|
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. This is the PICurrent that has our slot_table_ referred as lc_slot_table_. This copy is there to make sure that when we want to modify our table, that we can first copy our table to the PICurrent that refers to our table so that it has an unique copy of the data. |
|
PICurrent_Impl object that will be notified of this object's destruction. This is the PICurrent that has our slot_table_ as lc_slot_table_. |
|
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.".
|