CIAO::Servant_Impl_Base Class Reference

Non-template base class for Servant_Impl. More...

#include <Servant_Impl_Base.h>

Inheritance diagram for CIAO::Servant_Impl_Base:

Inheritance graph
[legend]
Collaboration diagram for CIAO::Servant_Impl_Base:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~Servant_Impl_Base (void)
virtual
::Components::PrimaryKeyBase * 
get_primary_key (void)
 Operations for CCMObject interface.
virtual CORBA::IRObject_ptr get_component_def (void)
virtual
Components::SessionComponent_ptr 
get_executor (void)
virtual void configuration_complete (void)
virtual void activate_component (void)
virtual void passivate_component (void)
virtual ::Components::CCMHome_ptr get_ccm_home (void)
virtual void remove (void)
virtual
::Components::ConnectionDescriptions * 
get_connections (const char *name)
virtual
::Components::ComponentPortDescription * 
get_all_ports (void)
virtual CORBA::Object_ptr provide_facet (const char *name)
virtual
::Components::FacetDescriptions * 
get_named_facets (const ::Components::NameList &names)
virtual
::Components::FacetDescriptions * 
get_all_facets (void)
virtual
::Components::ConsumerDescriptions * 
get_all_consumers (void)
virtual
::Components::EventConsumerBase_ptr 
get_consumer (const char *sink_name)
virtual
::Components::ConsumerDescriptions * 
get_named_consumers (const ::Components::NameList &names)
virtual
::Components::EmitterDescriptions * 
get_named_emitters (const ::Components::NameList &names)
virtual
::Components::ReceptacleDescriptions * 
get_named_receptacles (const ::Components::NameList &names)
virtual
::Components::ReceptacleDescriptions * 
get_all_receptacles (void)
virtual
::Components::PublisherDescriptions * 
get_named_publishers (const ::Components::NameList &names)
virtual void set_attributes (const Components::ConfigValues &descr)
 Operation to set attributes on the component.
virtual
::Components::StandardConfigurator_ptr 
get_standard_configurator (void)
virtual PortableServer::POA_ptr _default_POA (void)
virtual ::Components::Cookie * subscribe (const char *publisher_name,::Components::EventConsumerBase_ptr subscriber)
virtual
::Components::EventConsumerBase_ptr 
unsubscribe (const char *publisher_name,::Components::Cookie *ck)
virtual void connect_consumer (const char *emitter_name,::Components::EventConsumerBase_ptr consumer)
virtual
::Components::EventConsumerBase_ptr 
disconnect_consumer (const char *source_name)
virtual
::Components::EmitterDescriptions * 
get_all_emitters (void)
virtual
::Components::PublisherDescriptions * 
get_all_publishers (void)
virtual ::CORBA::Boolean same_component (::CORBA::Object_ptr object_ref)
virtual ::Components::Cookie * connect (const char *name,::CORBA::Object_ptr connection)
virtual ::CORBA::Object_ptr disconnect (const char *name,::Components::Cookie *ck)

Protected Types

typedef ACE_Array_Map
< ACE_CString,::Components::FacetDescription_var > 
FacetTable
typedef ACE_Array_Map
< ACE_CString,::Components::ConsumerDescription_var > 
ConsumerTable
typedef
ACE_Hash_Map_Manager_Ex< const
char
*,::Components::ReceptacleDescription_var,
ACE_Hash< const char * >
, ACE_Equal_To< const char * >
, ACE_Null_Mutex
ReceptacleTable

Protected Member Functions

 Servant_Impl_Base (Components::CCMHome_ptr home, Home_Servant_Impl_Base *home_servant, Container_ptr c)
void add_facet (const char *port_name,::CORBA::Object_ptr port_ref)
 Protected operations.
CORBA::Object_ptr lookup_facet (const char *port_name)
::Components::FacetDescription * lookup_facet_description (const char *port_name)
void add_receptacle (const char *receptacle_name, CORBA::Object_ptr recept_ref,::Components::Cookie *cookie)
void add_consumer (const char *port_name,::Components::EventConsumerBase_ptr port_ref)
::Components::EventConsumerBase_ptr lookup_consumer (const char *port_name)
::Components::ConsumerDescription * lookup_consumer_description (const char *port_name)

Protected Attributes

FacetTable facet_table_
ConsumerTable consumer_table_
ReceptacleTable receptacle_table_
Components::CCMHome_var home_
Home_Servant_Impl_Basehome_servant_
Container_var container_

Private Attributes

TAO_SYNCH_MUTEX lock_
 For internal locking of table reads and writes.


Detailed Description

Non-template base class for Servant_Impl.

Holds the non-template parts of its child class Servant_Impl.


Member Typedef Documentation

typedef ACE_Array_Map<ACE_CString, ::Components::ConsumerDescription_var> CIAO::Servant_Impl_Base::ConsumerTable [protected]

typedef ACE_Array_Map<ACE_CString, ::Components::FacetDescription_var> CIAO::Servant_Impl_Base::FacetTable [protected]

Called from generated servant class to help with get_all_*() methods.

typedef ACE_Hash_Map_Manager_Ex<const char *, ::Components::ReceptacleDescription_var, ACE_Hash<const char *>, ACE_Equal_To<const char *>, ACE_Null_Mutex> CIAO::Servant_Impl_Base::ReceptacleTable [protected]


Constructor & Destructor Documentation

CIAO::Servant_Impl_Base::Servant_Impl_Base ( Components::CCMHome_ptr  home,
Home_Servant_Impl_Base home_servant,
Container_ptr  c 
) [protected]

CIAO::Servant_Impl_Base::~Servant_Impl_Base ( void   )  [virtual]


Member Function Documentation

PortableServer::POA_ptr CIAO::Servant_Impl_Base::_default_POA ( void   )  [virtual]

Override that returns the (passed-in) default POA of our member component's container, to ensure that we get registered to that POA when _this() is called.

void CIAO::Servant_Impl_Base::activate_component ( void   )  [virtual]

void CIAO::Servant_Impl_Base::add_consumer ( const char *  port_name,
::Components::EventConsumerBase_ptr  port_ref 
) [protected]

void CIAO::Servant_Impl_Base::add_facet ( const char *  port_name,
::CORBA::Object_ptr  port_ref 
) [protected]

Protected operations.

void CIAO::Servant_Impl_Base::add_receptacle ( const char *  receptacle_name,
CORBA::Object_ptr  recept_ref,
::Components::Cookie *  cookie 
) [protected]

void CIAO::Servant_Impl_Base::configuration_complete ( void   )  [virtual]

Components::Cookie * CIAO::Servant_Impl_Base::connect ( const char *  name,
::CORBA::Object_ptr  connection 
)

void CIAO::Servant_Impl_Base::connect_consumer ( const char *  emitter_name,
::Components::EventConsumerBase_ptr  consumer 
) [virtual]

CORBA::Object_ptr CIAO::Servant_Impl_Base::disconnect ( const char *  name,
::Components::Cookie *  ck 
)

Components::EventConsumerBase_ptr CIAO::Servant_Impl_Base::disconnect_consumer ( const char *  source_name  ) 

Components::ConsumerDescriptions * CIAO::Servant_Impl_Base::get_all_consumers ( void   ) 

Components::EmitterDescriptions * CIAO::Servant_Impl_Base::get_all_emitters ( void   ) 

Components::FacetDescriptions * CIAO::Servant_Impl_Base::get_all_facets ( void   ) 

Components::ComponentPortDescription * CIAO::Servant_Impl_Base::get_all_ports ( void   ) 

Components::PublisherDescriptions * CIAO::Servant_Impl_Base::get_all_publishers ( void   ) 

Components::ReceptacleDescriptions * CIAO::Servant_Impl_Base::get_all_receptacles ( void   ) 

Components::CCMHome_ptr CIAO::Servant_Impl_Base::get_ccm_home ( void   ) 

CORBA::IRObject_ptr CIAO::Servant_Impl_Base::get_component_def ( void   )  [virtual]

Components::ConnectionDescriptions * CIAO::Servant_Impl_Base::get_connections ( const char *  name  ) 

Components::EventConsumerBase_ptr CIAO::Servant_Impl_Base::get_consumer ( const char *  sink_name  ) 

Components::SessionComponent_ptr CIAO::Servant_Impl_Base::get_executor ( void   )  [virtual]

Components::ConsumerDescriptions * CIAO::Servant_Impl_Base::get_named_consumers ( const ::Components::NameList &  names  ) 

Components::EmitterDescriptions * CIAO::Servant_Impl_Base::get_named_emitters ( const ::Components::NameList &  names  ) 

Components::FacetDescriptions * CIAO::Servant_Impl_Base::get_named_facets ( const ::Components::NameList &  names  ) 

Components::PublisherDescriptions * CIAO::Servant_Impl_Base::get_named_publishers ( const ::Components::NameList &  names  ) 

Components::ReceptacleDescriptions * CIAO::Servant_Impl_Base::get_named_receptacles ( const ::Components::NameList &  names  ) 

Components::PrimaryKeyBase * CIAO::Servant_Impl_Base::get_primary_key ( void   ) 

Operations for CCMObject interface.

Components::StandardConfigurator_ptr CIAO::Servant_Impl_Base::get_standard_configurator ( void   ) 

Components::EventConsumerBase_ptr CIAO::Servant_Impl_Base::lookup_consumer ( const char *  port_name  )  [protected]

Components::ConsumerDescription * CIAO::Servant_Impl_Base::lookup_consumer_description ( const char *  port_name  )  [protected]

Calling function will throw InvalidName after getting this.

CORBA::Object_ptr CIAO::Servant_Impl_Base::lookup_facet ( const char *  port_name  )  [protected]

Components::FacetDescription * CIAO::Servant_Impl_Base::lookup_facet_description ( const char *  port_name  )  [protected]

Calling function will throw InvalidName after getting this.

void CIAO::Servant_Impl_Base::passivate_component ( void   )  [virtual]

CORBA::Object_ptr CIAO::Servant_Impl_Base::provide_facet ( const char *  name  )  [virtual]

void CIAO::Servant_Impl_Base::remove ( void   )  [virtual]

CORBA::Boolean CIAO::Servant_Impl_Base::same_component ( ::CORBA::Object_ptr  object_ref  ) 

void CIAO::Servant_Impl_Base::set_attributes ( const Components::ConfigValues &  descr  )  [virtual]

Operation to set attributes on the component.

Components::Cookie * CIAO::Servant_Impl_Base::subscribe ( const char *  publisher_name,
::Components::EventConsumerBase_ptr  subscriber 
)

Components::EventConsumerBase_ptr CIAO::Servant_Impl_Base::unsubscribe ( const char *  publisher_name,
::Components::Cookie *  ck 
)


Member Data Documentation

TAO_SYNCH_MUTEX CIAO::Servant_Impl_Base::lock_ [private]

For internal locking of table reads and writes.


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

Generated on Mon Jul 13 17:17:21 2009 for CIAO by  doxygen 1.5.8