TAO_CosNaming 4.0.2
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
TAO_Storable_Naming_Context_Factory Class Reference

#include <Storable_Naming_Context_Factory.h>

Public Types

typedef TAO_Storable_Naming_Context::HASH_MAP HASH_MAP
 

Public Member Functions

 TAO_Storable_Naming_Context_Factory (size_t hash_table_size=ACE_DEFAULT_MAP_SIZE)
 Constructor.
 
virtual ~TAO_Storable_Naming_Context_Factory ()
 
virtual TAO_Storable_Naming_Contextcreate_naming_context_impl (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, const char *poa_id, TAO::Storable_Factory *factory)
 

Protected Attributes

size_t context_size_
 The size for persisted naming context objects in hash map.
 

Member Typedef Documentation

◆ HASH_MAP

Data structure used by TAO_Persistent_Context_Index

  • typedef for ease of use.

Constructor & Destructor Documentation

◆ TAO_Storable_Naming_Context_Factory()

TAO_Storable_Naming_Context_Factory::TAO_Storable_Naming_Context_Factory ( size_t hash_table_size = ACE_DEFAULT_MAP_SIZE)

Constructor.

◆ ~TAO_Storable_Naming_Context_Factory()

TAO_Storable_Naming_Context_Factory::~TAO_Storable_Naming_Context_Factory ( )
virtual

Destructor. Does not deallocate the hash map: if an instance of this class goes out of scope, its hash_map remains in persistent storage.

Member Function Documentation

◆ create_naming_context_impl()

TAO_Storable_Naming_Context * TAO_Storable_Naming_Context_Factory::create_naming_context_impl ( CORBA::ORB_ptr orb,
PortableServer::POA_ptr poa,
const char * poa_id,
TAO::Storable_Factory * factory )
virtual

Factory method for creating an implementation object for naming contexts. If an existing naming context implementation is being rebuilt, the map and counter parameters should be provided to the underlying HASH_MAP implementation

Member Data Documentation

◆ context_size_

size_t TAO_Storable_Naming_Context_Factory::context_size_
protected

The size for persisted naming context objects in hash map.


The documentation for this class was generated from the following files: