LF_Event_Binder.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file LF_Event_Binder.h
00006  *
00007  *  LF_Event_Binder.h,v 1.5 2005/11/02 07:13:03 ossama Exp
00008  *
00009  *  @author Carlos O'Ryan <coryan@uci.edu>
00010  */
00011 //=============================================================================
00012 
00013 #ifndef TAO_LF_EVENT_BINDER_H
00014 #define TAO_LF_EVENT_BINDER_H
00015 
00016 #include /**/ "ace/pre.h"
00017 
00018 #include "tao/LF_Event.h"
00019 
00020 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00021 # pragma once
00022 #endif /* ACE_LACKS_PRAGMA_ONCE */
00023 
00024 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00025 
00026 class TAO_LF_Follower;
00027 
00028 /**
00029  * @brief Implement an auto_ptr-like class for the TAO_LF_Followers
00030  * allocated via a TAO_Leader_Follower set.
00031  *
00032  * The Leader/Follower set is a factory for TAO_LF_Follower objects
00033  */
00034 class TAO_Export TAO_LF_Event_Binder
00035 {
00036 public:
00037   /// Constructor
00038   TAO_LF_Event_Binder (TAO_LF_Event *event,
00039                        TAO_LF_Follower *folloer);
00040 
00041   /// Destructor
00042   ~TAO_LF_Event_Binder (void);
00043 
00044 private:
00045   /// Keep a reference to the leader follower
00046   TAO_LF_Event * const event_;
00047 };
00048 
00049 TAO_END_VERSIONED_NAMESPACE_DECL
00050 
00051 #if defined (__ACE_INLINE__)
00052 # include "tao/LF_Event_Binder.inl"
00053 #endif /* __ACE_INLINE__ */
00054 
00055 #include /**/ "ace/post.h"
00056 
00057 #endif  /* TAO_LF_EVENT_BINDER_H */

Generated on Thu Nov 9 11:54:15 2006 for TAO by doxygen 1.3.6