Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

TAO_LF_Follower_Auto_Adder Class Reference

Implement an auto_adder-like class for the TAO_LF_Followers allocated via a TAO_Leader_Follower set. More...

#include <LF_Follower_Auto_Adder.h>

Collaboration diagram for TAO_LF_Follower_Auto_Adder:

Collaboration graph
[legend]
List of all members.

Public Methods

 TAO_LF_Follower_Auto_Adder (TAO_Leader_Follower &, TAO_LF_Follower *follower)
 Constructor. More...

 ~TAO_LF_Follower_Auto_Adder (void)
 Destructor. More...


Private Attributes

TAO_Leader_Followerleader_follower_
 Keep a reference to the leader follower. More...

TAO_LF_Followerfollower_
 The follower. More...


Detailed Description

Implement an auto_adder-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

Definition at line 32 of file LF_Follower_Auto_Adder.h.


Constructor & Destructor Documentation

ACE_INLINE TAO_LF_Follower_Auto_Adder::TAO_LF_Follower_Auto_Adder TAO_Leader_Follower  ,
TAO_LF_Follower   follower
 

Constructor.

Definition at line 5 of file LF_Follower_Auto_Adder.inl.

References TAO_Leader_Follower::add_follower, and leader_follower_.

00007   : leader_follower_ (lf)
00008   , follower_ (follower)
00009 {
00010   (void) this->leader_follower_.add_follower (this->follower_);
00011 }

TAO_LF_Follower_Auto_Adder::~TAO_LF_Follower_Auto_Adder void   
 

Destructor.

Definition at line 13 of file LF_Follower_Auto_Adder.cpp.

References leader_follower_, and TAO_Leader_Follower::remove_follower.

00014 {
00015   this->leader_follower_.remove_follower (this->follower_);
00016 }


Member Data Documentation

TAO_LF_Follower* TAO_LF_Follower_Auto_Adder::follower_ [private]
 

The follower.

Definition at line 47 of file LF_Follower_Auto_Adder.h.

TAO_Leader_Follower& TAO_LF_Follower_Auto_Adder::leader_follower_ [private]
 

Keep a reference to the leader follower.

Definition at line 44 of file LF_Follower_Auto_Adder.h.

Referenced by TAO_LF_Follower_Auto_Adder, and ~TAO_LF_Follower_Auto_Adder.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 15:26:51 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002