diff options
Diffstat (limited to 'trunk/TAO/tests/Smart_Proxies/Collocation/Smart_Proxy_Impl.h')
-rw-r--r-- | trunk/TAO/tests/Smart_Proxies/Collocation/Smart_Proxy_Impl.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/trunk/TAO/tests/Smart_Proxies/Collocation/Smart_Proxy_Impl.h b/trunk/TAO/tests/Smart_Proxies/Collocation/Smart_Proxy_Impl.h new file mode 100644 index 00000000000..35930cf52cf --- /dev/null +++ b/trunk/TAO/tests/Smart_Proxies/Collocation/Smart_Proxy_Impl.h @@ -0,0 +1,39 @@ +// $Id$ +// +#ifndef SMART_PROXY_IMPL_H +#define SMART_PROXY_IMPL_H + +#include "DiamondC.h" +#include "stub_export.h" + +class MY_Stub_Export Smart_Diamond_Top_Factory : public virtual Diamond::TAO_Diamond_Top_Default_Proxy_Factory +{ + public: + + Smart_Diamond_Top_Factory (void); + + virtual Diamond::Top_ptr create_proxy (Diamond::Top_ptr proxy + ACE_ENV_ARG_DECL_WITH_DEFAULTS); + + // This method will create the smart_proxy. +}; + + +class MY_Stub_Export Smart_Diamond_Top_Proxy : public virtual Diamond::TAO_Diamond_Top_Smart_Proxy_Base +{ + public: + + Smart_Diamond_Top_Proxy (Diamond::Top_ptr proxy); + + virtual char * shape ( + ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + + ACE_THROW_SPEC (( + CORBA::SystemException + )); + // Smartify the method call! + + // Dont need to add any extra functionality into shutdown() + // hence neednt define it. +}; +#endif /*SMART_PROXY_IMPL_H*/ |