3 //=============================================================================
5 * @file LF_Follower_Auto_Adder.h
7 * @author Carlos O'Ryan <coryan@uci.edu>
9 //=============================================================================
11 #ifndef TAO_LF_FOLLOWER_AUTO_ADDER_H
12 #define TAO_LF_FOLLOWER_AUTO_ADDER_H
14 #include /**/ "ace/pre.h"
16 #include "tao/LF_Follower.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/Leader_Follower.h"
24 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
27 * @brief Implement an auto_adder-like class for the TAO_LF_Followers
28 * allocated via a TAO_Leader_Follower set.
30 * The Leader/Follower set is a factory for TAO_LF_Follower objects
32 class TAO_Export TAO_LF_Follower_Auto_Adder
36 TAO_LF_Follower_Auto_Adder (TAO_Leader_Follower
&, TAO_LF_Follower
*follower
);
39 ~TAO_LF_Follower_Auto_Adder ();
42 /// Keep a reference to the leader follower
43 TAO_Leader_Follower
&leader_follower_
;
46 TAO_LF_Follower
*follower_
;
49 TAO_END_VERSIONED_NAMESPACE_DECL
51 #if defined (__ACE_INLINE__)
52 # include "tao/LF_Follower_Auto_Adder.inl"
53 #endif /* __ACE_INLINE__ */
55 #include /**/ "ace/post.h"
57 #endif /* TAO_LF_FOLLOWER_AUTO_ADDER_H */