TAO::ObjectKey_Table Class ReferenceTable that maintains the set of ObjectKey's seen by the ORB. More...
Collaboration diagram for TAO::ObjectKey_Table:
Detailed DescriptionTable that maintains the set of ObjectKey's seen by the ORB.The ORB maintains one table for the whole ORB. ObjectKeys generated by the ORB or the ones seen by the ORB from remote ORB's are stored here. The ObjectKeys are stored through a wrapper which encapsulates the refcount on them. This class actually provides the synchronization mechanism for manipulating the reference counts on the object keys provided by the wrapper class. This class does not offer a find () call with a reason. The call to bind () will return a pointer which is expected to be cached by the client/caller and use the pointer in every invocation.
Member Typedef Documentation
Constructor & Destructor Documentation
Default Constructor and destructor..
Member Function Documentation
Initialize method that sets up the underlying lock and other related stuff. Create the lock that is needed for internal usage.
Iterates and unbinds the contents of the table.
Bind the ObjectKey in the table. Bind an ObjectKey in the table and return a pointer to the Refcounted_ObjectKey which the client can use. If the ObjectKey is already available in the table, this operation just increments the refcount on the ObjectKey. If the ObjectKey is new it is bounded to the table. Returns a 0 on success and a -1 on failure.
Unbind an ObjectKey from the table.
Implementation for bind ().
Implementation for unbind ().
Member Data Documentation
Lock for the table.
Table that contains the data.
The documentation for this class was generated from the following files: Generated on Mon Sep 15 07:44:39 2008 for TAO by 1.5.5 |