TAO 2.0.4
|
Implement an auto_ptr-like class for the TAO_LF_Followers allocated via a TAO_Leader_Follower set. More...
#include <LF_Follower_Auto_Ptr.h>
Public Member Functions | |
TAO_LF_Follower_Auto_Ptr (TAO_Leader_Follower &) | |
Constructor. | |
~TAO_LF_Follower_Auto_Ptr (void) | |
Destructor. | |
TAO_LF_Follower * | get (void) |
Implement the smart pointer methods. | |
TAO_LF_Follower * | operator-> (void) |
operator TAO_LF_Follower * (void) | |
Private Attributes | |
TAO_Leader_Follower & | leader_follower_ |
Keep a reference to the leader follower. | |
TAO_LF_Follower * | follower_ |
The follower. |
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
TAO_LF_Follower_Auto_Ptr::TAO_LF_Follower_Auto_Ptr | ( | TAO_Leader_Follower & | lf | ) |
Constructor.
TAO_LF_Follower_Auto_Ptr::~TAO_LF_Follower_Auto_Ptr | ( | void | ) |
Destructor.
TAO_LF_Follower * TAO_LF_Follower_Auto_Ptr::get | ( | void | ) |
Implement the smart pointer methods.
TAO_LF_Follower_Auto_Ptr::operator TAO_LF_Follower * | ( | void | ) |
TAO_LF_Follower * TAO_LF_Follower_Auto_Ptr::operator-> | ( | void | ) |
The follower.
Keep a reference to the leader follower.