diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-05-04 23:16:32 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-05-04 23:16:32 +0000 |
commit | 6c164afe76f570d0505a8eced1deb16414bf812d (patch) | |
tree | 3e0c4010b8bba89d5b0b2b2a51db7b284a45038a /TAO/tao/IORInterceptor_Adapter.h | |
parent | 07497b63430ef44fc3b283c6b558ca9670d8ada2 (diff) | |
download | ATCD-6c164afe76f570d0505a8eced1deb16414bf812d.tar.gz |
ChangeLogTag: Sun May 4 18:06:59 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/tao/IORInterceptor_Adapter.h')
-rw-r--r-- | TAO/tao/IORInterceptor_Adapter.h | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/TAO/tao/IORInterceptor_Adapter.h b/TAO/tao/IORInterceptor_Adapter.h new file mode 100644 index 00000000000..8ed278d9ec2 --- /dev/null +++ b/TAO/tao/IORInterceptor_Adapter.h @@ -0,0 +1,74 @@ +// This may look like C, but it's really -*- C++ -*- + +//============================================================================= +/** + * @file IORInterceptor_Adapter.h + * + * $Id$ + * + * @author Jeff Parsons <j.parsons@vanderbilt.edu> + */ +//============================================================================= + + +#ifndef TAO_IORINTERCEPTOR_ADAPTER_H +#define TAO_IORINTERCEPTOR_ADAPTER_H +#include "ace/pre.h" + +#include "tao/corbafwd.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "tao/Interceptor_List.h" +#include "ace/Service_Object.h" +#include "ace/CORBA_macros.h" + +namespace PortableInterceptor +{ + class Interceptor; + typedef Interceptor *Interceptor_ptr; + class IORInterceptor; + typedef IORInterceptor *IORInterceptor_ptr; +}; + +/** + * @class TAO_IORInterceptor_Adapter + * + * @brief TAO_IORInterceptor_Adapter. + * + * Class that adapts various functions involving the PortableInterceptor + * interfaces IORInfo and IORInterceptor. This is a base class for + * the actual implementation in the TAO_IORInterceptor library. + */ +class TAO_Export TAO_IORInterceptor_Adapter : public ACE_Service_Object +{ +public: + virtual ~TAO_IORInterceptor_Adapter (void); + + virtual void tao_iorinterceptor_release ( + PortableInterceptor::IORInterceptor_ptr + ) = 0; + + virtual PortableInterceptor::Interceptor_ptr tao_iorinterceptor ( + TAO_IORInterceptor_List::TYPE & container, + size_t index + ) = 0; + + virtual void tao_add_iorinterceptor ( + TAO_IORInterceptor_List * list, + TAO_IORInterceptor_List::TYPE & container, + PortableInterceptor::IORInterceptor_ptr interceptor + ACE_ENV_ARG_DECL + ) = 0; + + virtual void tao_iorinterceptor_destroy ( + TAO_IORInterceptor_List::TYPE & container, + size_t ilen + ACE_ENV_ARG_DECL + ) = 0; +}; + +#include "ace/post.h" +#endif /* TAO_IORINTERCEPTOR_ADAPTER_H */ |