diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/IFRService/ProvidesDef_i.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/IFRService/ProvidesDef_i.cpp | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/IFRService/ProvidesDef_i.cpp b/TAO/orbsvcs/orbsvcs/IFRService/ProvidesDef_i.cpp new file mode 100644 index 00000000000..80e73290122 --- /dev/null +++ b/TAO/orbsvcs/orbsvcs/IFRService/ProvidesDef_i.cpp @@ -0,0 +1,78 @@ +/* -*- C++ -*- */ +// $Id$ + +#include "Repository_i.h" +#include "ProvidesDef_i.h" + +ACE_RCSID(IFR_Service, ProvidesDef_i, "$Id$") + +TAO_ProvidesDef_i::TAO_ProvidesDef_i ( + TAO_Repository_i *repo, + ACE_Configuration_Section_Key section_key + ) + : TAO_IRObject_i (repo, section_key), + TAO_Contained_i (repo, section_key) +{ +} + +TAO_ProvidesDef_i::~TAO_ProvidesDef_i (void) +{ +} + +CORBA::DefinitionKind +TAO_ProvidesDef_i::def_kind (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + return CORBA::dk_Provides; +} + +void +TAO_ProvidesDef_i::destroy (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + TAO_IFR_WRITE_GUARD; + + this->destroy_i (ACE_ENV_SINGLE_ARG_PARAMETER); +} + +void +TAO_ProvidesDef_i::destroy_i (ACE_ENV_SINGLE_ARG_DECL_NOT_USED /* ACE_ENV_SINGLE_ARG_PARAMETER */) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + // TODO +} + +CORBA_Contained::Description * +TAO_ProvidesDef_i::describe (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + TAO_IFR_READ_GUARD_RETURN (0); + + return this->describe_i (ACE_ENV_SINGLE_ARG_PARAMETER); +} + +CORBA_Contained::Description * +TAO_ProvidesDef_i::describe_i (ACE_ENV_SINGLE_ARG_DECL_NOT_USED /* ACE_ENV_SINGLE_ARG_PARAMETER */) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + // TODO + return 0; +} + +CORBA_InterfaceDef_ptr +TAO_ProvidesDef_i::interface_type (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + TAO_IFR_READ_GUARD_RETURN (CORBA_InterfaceDef::_nil ()); + + return this->interface_type_i (ACE_ENV_SINGLE_ARG_PARAMETER); +} + +CORBA_InterfaceDef_ptr +TAO_ProvidesDef_i::interface_type_i (ACE_ENV_SINGLE_ARG_DECL_NOT_USED /* ACE_ENV_SINGLE_ARG_PARAMETER */) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + // TODO + return 0; +} + |