diff options
Diffstat (limited to 'TAO/CIAO/DAnCE/ciao/Swapping_Servant_Impl_Base.h')
-rw-r--r-- | TAO/CIAO/DAnCE/ciao/Swapping_Servant_Impl_Base.h | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/TAO/CIAO/DAnCE/ciao/Swapping_Servant_Impl_Base.h b/TAO/CIAO/DAnCE/ciao/Swapping_Servant_Impl_Base.h new file mode 100644 index 00000000000..31b989d86ba --- /dev/null +++ b/TAO/CIAO/DAnCE/ciao/Swapping_Servant_Impl_Base.h @@ -0,0 +1,65 @@ +// -*- C++ -*- + +//============================================================================= +/** + * @file Swapping_Servant_Impl_Base.h + * + * $Id$ + * + */ +//============================================================================= + + +#ifndef CIAO_SWAPPING_SERVANT_IMPL_BASE_H +#define CIAO_SWAPPING_SERVANT_IMPL_BASE_H + +#include /**/ "ace/pre.h" + +#include "CCM_ComponentS.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "CIAO_Server_Export.h" + +namespace CIAO +{ + class Swapping_Container; + + /** + * @class Swapping_Servant_Impl_Base + * + * @brief Non-template base class for Home_Servant_Impl. + * + * Holds the non-template parts of its child class + * Home_Servant_Impl. + */ + class CIAO_SERVER_Export Swapping_Servant_Impl_Base + : public virtual POA_Components::CCMHome + { + public: + explicit Swapping_Servant_Impl_Base (void); + + Swapping_Servant_Impl_Base (Swapping_Container * c); + + virtual ~Swapping_Servant_Impl_Base (void); + + // Operations for CCMHome interface. + + virtual ::CORBA::IRObject_ptr + get_component_def (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual ::CORBA::IRObject_ptr + get_home_def (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_THROW_SPEC ((CORBA::SystemException)); + + protected: + Swapping_Container *container_; + }; +} + +#include /**/ "ace/post.h" + +#endif /* CIAO_SWAPPING_SERVANT_IMPL_BASE_H */ |