// $Id$ #include "ace/Auto_Ptr.h" #include "ace/Dynamic_Service.h" #include "tao/Resource_Factory.h" #include "tao/ORB_Core.h" #include "tao/Client_Strategy_Factory.h" ACE_RCSID(tao, Resource_Factory, "$Id$") // **************************************************************** TAO_Cached_Connector_Lock::TAO_Cached_Connector_Lock (TAO_ORB_Core *orb_core) { this->lock_ = orb_core->client_factory ()->create_cached_connector_lock (); } TAO_Cached_Connector_Lock::~TAO_Cached_Connector_Lock (void) { delete this->lock_; this->lock_ = 0; } // **************************************************************** TAO_Protocol_Item::TAO_Protocol_Item (const ACE_CString &name) : name_ (name), factory_ (0), factory_owner_ (0) { } TAO_Protocol_Item::~TAO_Protocol_Item (void) { if (this->factory_owner_ == 1) delete this->factory_; } const ACE_CString & TAO_Protocol_Item::protocol_name (void) { return this->name_; } TAO_Protocol_Factory * TAO_Protocol_Item::factory (void) { return this->factory_; } void TAO_Protocol_Item::factory (TAO_Protocol_Factory *factory, int owner) { this->factory_ = factory; this->factory_owner_ = owner; } TAO_Resource_Factory::TAO_Resource_Factory (void) { } TAO_Resource_Factory::~TAO_Resource_Factory (void) { } int TAO_Resource_Factory::use_tss_resources (void) const { return 0; } int TAO_Resource_Factory::use_locked_data_blocks (void) const { return 0; } TAO_Reactor_Registry * TAO_Resource_Factory::get_reactor_registry (void) { return 0; } ACE_Reactor * TAO_Resource_Factory::get_reactor (void) { return 0; } void TAO_Resource_Factory::reclaim_reactor (ACE_Reactor *) { return; } TAO_Connector_Registry * TAO_Resource_Factory::get_connector_registry (void) { return 0; } TAO_Acceptor_Registry * TAO_Resource_Factory::get_acceptor_registry (void) { return 0; } ACE_Allocator * TAO_Resource_Factory::input_cdr_dblock_allocator (void) { return 0; } ACE_Allocator * TAO_Resource_Factory::input_cdr_buffer_allocator (void) { return 0; } ACE_Allocator * TAO_Resource_Factory::output_cdr_dblock_allocator (void) { return 0; } ACE_Allocator * TAO_Resource_Factory::output_cdr_buffer_allocator (void) { return 0; } TAO_ProtocolFactorySet * TAO_Resource_Factory::get_protocol_factories (void) { return 0; } int TAO_Resource_Factory::init_protocol_factories (void) { return -1; } TAO_Resource_Factory::Caching_Strategy TAO_Resource_Factory::connection_caching_strategy_type (void) const { return TAO_Resource_Factory::NOOP; } double TAO_Resource_Factory::purge_percentage (void) const { return 0; } TAO_Priority_Mapping * TAO_Resource_Factory::get_priority_mapping (void) { return 0; } int TAO_Resource_Factory::get_parser_names (const char **&, int &) { return 0; } #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) template class ACE_Dynamic_Service; template class ACE_Node; template class ACE_Unbounded_Set; template class ACE_Unbounded_Set_Iterator; template class auto_ptr; template class ACE_Auto_Basic_Ptr; template class ACE_Guard; template class ACE_Reverse_Lock; template class ACE_Guard >; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) #pragma instantiate ACE_Dynamic_Service #pragma instantiate ACE_Node #pragma instantiate ACE_Unbounded_Set #pragma instantiate ACE_Unbounded_Set_Iterator #pragma instantiate auto_ptr #pragma instantiate ACE_Auto_Basic_Ptr #pragma instantiate ACE_Guard #pragma instantiate ACE_Reverse_Lock #pragma instantiate ACE_Guard > #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */