diff options
Diffstat (limited to 'TAO/tao/LF_Follower_Auto_Ptr.h')
-rw-r--r-- | TAO/tao/LF_Follower_Auto_Ptr.h | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/TAO/tao/LF_Follower_Auto_Ptr.h b/TAO/tao/LF_Follower_Auto_Ptr.h deleted file mode 100644 index 52c2aae3411..00000000000 --- a/TAO/tao/LF_Follower_Auto_Ptr.h +++ /dev/null @@ -1,64 +0,0 @@ -// -*- C++ -*- - -//============================================================================= -/** - * @file LF_Follower_Auto_Ptr.h - * - * $Id$ - * - * @author Carlos O'Ryan <coryan@uci.edu> - */ -//============================================================================= - -#ifndef TAO_LF_FOLLOWER_AUTO_PTR_H -#define TAO_LF_FOLLOWER_AUTO_PTR_H - -#include /**/ "ace/pre.h" - -#include "tao/LF_Follower.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/Leader_Follower.h" - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -/** - * @brief Implement an auto_ptr-like class for the TAO_LF_Followers - * allocated via a TAO_Leader_Follower set. - * - * The Leader/Follower set is a factory for TAO_LF_Follower objects - */ -class TAO_Export TAO_LF_Follower_Auto_Ptr -{ -public: - /// Constructor - TAO_LF_Follower_Auto_Ptr (TAO_Leader_Follower &); - - /// Destructor - ~TAO_LF_Follower_Auto_Ptr (void); - - /// Implement the smart pointer methods - TAO_LF_Follower *get (void); - TAO_LF_Follower *operator->(void); - operator TAO_LF_Follower *(void); - -private: - /// Keep a reference to the leader follower - TAO_Leader_Follower &leader_follower_; - - /// The follower - TAO_LF_Follower *follower_; -}; - -TAO_END_VERSIONED_NAMESPACE_DECL - -#if defined (__ACE_INLINE__) -# include "tao/LF_Follower_Auto_Ptr.inl" -#endif /* __ACE_INLINE__ */ - -#include /**/ "ace/post.h" - -#endif /* TAO_LF_FOLLOWER_AUTO_PTR_H */ |