CIAO
1.0.8
|
Non-template base class for Servant_Impl. More...
#include <Servant_Impl_Base.h>
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::ConsumerDescription * | lookup_consumer_description (const char *port_name) |
Protected Attributes | |
ConsumerTable | consumer_table_ |
Private Member Functions | |
::Components::PublisherDescription * | lookup_publisher_description (const char *publisher_name) |
Private operations. | |
::Components::EmitterDescription * | lookup_emitter_description (const char *emitter_name) |
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.
typedef std::map<ACE_CString, ::Components::EventConsumerBase_var> CIAO::Servant_Impl_Base::ConsumerTable [protected] |
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] |
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.