diff options
Diffstat (limited to 'modules/CIAO/ciao/Swapping_Servant_Home_Impl_Base.h')
-rw-r--r-- | modules/CIAO/ciao/Swapping_Servant_Home_Impl_Base.h | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/modules/CIAO/ciao/Swapping_Servant_Home_Impl_Base.h b/modules/CIAO/ciao/Swapping_Servant_Home_Impl_Base.h new file mode 100644 index 00000000000..d9e86e81e7d --- /dev/null +++ b/modules/CIAO/ciao/Swapping_Servant_Home_Impl_Base.h @@ -0,0 +1,65 @@ +// -*- C++ -*- + +//============================================================================= +/** + * @file Swapping_Servant_Home_Impl_Base.h + * + * $Id$ + * + */ +//============================================================================= + + +#ifndef CIAO_SWAPPING_SERVANT_HOME_IMPL_BASE_H +#define CIAO_SWAPPING_SERVANT_HOME_IMPL_BASE_H + +#include /**/ "ace/pre.h" + +#include "CCM_HomeS.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "ciao/CIAO_Server_Export.h" + +namespace CIAO +{ + class Swapping_Container; + + /** + * @class Swapping_Home_Servant_Impl_Base + * + */ + // @@ Jai, why are you inheriting from "home" here? What is the + // point? + // @@ JAI, probably my class naming convention was the problem. + // This is a home implementation and that is why inheriting from + // "home". + // + class CIAO_SERVER_Export Swapping_Home_Servant_Impl_Base + : public virtual POA_Components::CCMHome + { + public: + Swapping_Home_Servant_Impl_Base (Swapping_Container * c); + + virtual ~Swapping_Home_Servant_Impl_Base (void); + + // Operations for CCMHome interface. + virtual ::CORBA::IRObject_ptr get_component_def (void) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual ::CORBA::IRObject_ptr get_home_def (void) + ACE_THROW_SPEC ((CORBA::SystemException)); + + protected: + Swapping_Container *container_; + private: + /// Not to be used + Swapping_Home_Servant_Impl_Base (void); + }; +} + +#include /**/ "ace/post.h" + +#endif /* CIAO_SWAPPING_SERVANT_HOME_IMPL_BASE_H */ |