TAO
2.3.3
|
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. More... | |
~TAO_LF_Follower_Auto_Ptr (void) | |
Destructor. More... | |
TAO_LF_Follower * | get (void) |
Implement the smart pointer methods. More... | |
TAO_LF_Follower * | operator-> (void) |
operator TAO_LF_Follower * (void) | |
Private Attributes | |
TAO_Leader_Follower & | leader_follower_ |
Keep a reference to the leader follower. More... | |
TAO_LF_Follower * | follower_ |
The follower. More... | |
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 | ) |
|
private |
The follower.
|
private |
Keep a reference to the leader follower.