diff options
author | kirthika <kirthika@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-03-31 06:53:50 +0000 |
---|---|---|
committer | kirthika <kirthika@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-03-31 06:53:50 +0000 |
commit | 687401703965b9ff0f37f4ccf837c00b4202bbb4 (patch) | |
tree | cee751ac03d5c71579e295933a2514406630e885 | |
parent | 2acbdfec851f22bdfd851a35143c984f63438853 (diff) | |
download | ATCD-687401703965b9ff0f37f4ccf837c00b4202bbb4.tar.gz |
Thu Mar 30 00:20:00 2000 Kirthika Parameswaran
<kirthika@cs.wustl.edu>
-rw-r--r-- | TAO/tao/Smart_Proxies.cpp | 11 | ||||
-rw-r--r-- | TAO/tao/Smart_Proxies.h | 57 | ||||
-rw-r--r-- | TAO/tao/Smart_Proxies.i | 18 |
3 files changed, 86 insertions, 0 deletions
diff --git a/TAO/tao/Smart_Proxies.cpp b/TAO/tao/Smart_Proxies.cpp new file mode 100644 index 00000000000..d4b58d8a1f8 --- /dev/null +++ b/TAO/tao/Smart_Proxies.cpp @@ -0,0 +1,11 @@ +// $Id$ + +#include "tao/Smart_Proxies.h" + +ACE_RCSID(tao, Smart_Proxies, "$Id$") + +#if !defined (__ACE_INLINE__) +#include "tao/Smart_Proxies.i" +#endif /* defined INLINE */ + + diff --git a/TAO/tao/Smart_Proxies.h b/TAO/tao/Smart_Proxies.h new file mode 100644 index 00000000000..a243c83f169 --- /dev/null +++ b/TAO/tao/Smart_Proxies.h @@ -0,0 +1,57 @@ +// $Id$ +// This may look like C, but it's really -*- C++ -*- +// SmartProxies.h,v 1.0 + +// ============================================================================ +// +// = LIBRARY +// TAO +// +// = FILENAME +// SmartProxies.h +// +// = DESCRIPTION +// This file contains a base class for the generated smart proxy classes +// It's purpose is to hold the pointer to the real proxy +// +// = AUTHOR +// Brian Wallis <brian.wallis@ot.com.au> +// +// ============================================================================ + +#ifndef TAO_SMARTPROXIES_H +#define TAO_SMARTPROXIES_H + +#include "tao/Object.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +class TAO_Export TAO_Smart_Proxy_Base +{ + // = TITLE + // TAO_Smart_Proxy_Base + // + // = DESCRIPTION + // A base class for all TAO_IDL generated smart proxy base classes + // Contains the _var pointer to the real proxy + +public: + ~TAO_Smart_Proxy_Base(void); + // Destructor + +protected: + TAO_Smart_Proxy_Base (void); + TAO_Smart_Proxy_Base (CORBA::Object_ptr proxy); + // Constructors + + CORBA::Object_var base_proxy_; + // The proxy to which remote/collocated calls are made. +}; + +#if defined (__ACE_INLINE__) +#include "tao/Smart_Proxies.i" +#endif /* defined INLINE */ + +#endif /* TAO_SMARTPROXIES_H */ diff --git a/TAO/tao/Smart_Proxies.i b/TAO/tao/Smart_Proxies.i new file mode 100644 index 00000000000..6f6605fc0e7 --- /dev/null +++ b/TAO/tao/Smart_Proxies.i @@ -0,0 +1,18 @@ +/* -*- C++ -*- Smart_Proxies.i */ +// $Id$ + +ACE_INLINE +TAO_Smart_Proxy_Base::TAO_Smart_Proxy_Base (void) +{ +} + +ACE_INLINE +TAO_Smart_Proxy_Base::TAO_Smart_Proxy_Base (CORBA::Object_ptr proxy) + : base_proxy_(proxy) +{ +} + +ACE_INLINE +TAO_Smart_Proxy_Base::~TAO_Smart_Proxy_Base (void) +{ +} |