CIAO  1.0.8
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions
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 void remove (void)
 Operations for CCMObject interface.
virtual
::Components::ComponentPortDescription
get_all_ports (void)
virtual
::Components::PrimaryKeyBase
get_primary_key (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::PublisherDescriptions
get_named_publishers (const ::Components::NameList &names)

Protected Types

typedef std::map< ACE_CString,::Components::EventConsumerBase_var > ConsumerTable

Protected Member Functions

 Servant_Impl_Base (Components::CCMHome_ptr home, Home_Servant_Impl_Base *home_servant, Container_ptr c)
void add_consumer (const char *port_name,::Components::EventConsumerBase_ptr port_ref)
 Protected operations.
::Components::EventConsumerBase_ptr lookup_consumer (const char *port_name)
::Components::ConsumerDescriptionlookup_consumer_description (const char *port_name)

Protected Attributes

ConsumerTable consumer_table_

Private Member Functions

::Components::PublisherDescriptionlookup_publisher_description (const char *publisher_name)
 Private operations.
::Components::EmitterDescriptionlookup_emitter_description (const char *emitter_name)

Detailed Description

Non-template base class for Servant_Impl.

Holds the non-template parts of its child class Servant_Impl. Inherits from Connector_Servant_Impl_Base, which contains the facet and receptacle functionality that Connectors are limited to.


Member Typedef Documentation

typedef std::map<ACE_CString, ::Components::EventConsumerBase_var> CIAO::Servant_Impl_Base::ConsumerTable [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

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

Protected operations.

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

Reimplemented from CIAO::Connector_Servant_Impl_Base.

Components::ComponentPortDescription * CIAO::Servant_Impl_Base::get_all_ports ( void  ) [virtual]

Reimplemented from CIAO::Connector_Servant_Impl_Base.

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

Reimplemented from CIAO::Connector_Servant_Impl_Base.

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

Reimplemented from CIAO::Connector_Servant_Impl_Base.

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

Reimplemented from CIAO::Connector_Servant_Impl_Base.

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

Reimplemented from CIAO::Connector_Servant_Impl_Base.

Components::PrimaryKeyBase * CIAO::Servant_Impl_Base::get_primary_key ( void  ) [virtual]

Reimplemented from CIAO::Connector_Servant_Impl_Base.

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.

Components::EmitterDescription * CIAO::Servant_Impl_Base::lookup_emitter_description ( const char *  emitter_name) [private]
Components::PublisherDescription * CIAO::Servant_Impl_Base::lookup_publisher_description ( const char *  publisher_name) [private]

Private operations.

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

Operations for CCMObject interface.

This call deactivates facets, removes executor and home servant (if any), and uninstalls us from the container. It has its own try/catch blocks.

Reimplemented from CIAO::Connector_Servant_Impl_Base.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines