TAO_LF_Event_Binder Class Reference

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

#include <LF_Event_Binder.h>

Collaboration diagram for TAO_LF_Event_Binder:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_LF_Event_Binder (TAO_LF_Event *event, TAO_LF_Follower *folloer)
 Constructor.

 ~TAO_LF_Event_Binder (void)
 Destructor.


Private Attributes

TAO_LF_Event *const  event_
 Keep a reference to the leader follower.


Detailed Description

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

Definition at line 34 of file LF_Event_Binder.h.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE TAO_LF_Event_Binder::TAO_LF_Event_Binder TAO_LF_Event event,
TAO_LF_Follower folloer
 

Constructor.

Definition at line 8 of file LF_Event_Binder.inl.

References TAO_LF_Event::bind().

00010   : event_ (event)
00011 {
00012   this->event_->bind (follower);
00013 }

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_LF_Event_Binder::~TAO_LF_Event_Binder void   ) 
 

Destructor.

Definition at line 15 of file LF_Event_Binder.cpp.

References TAO_LF_Event::unbind().

00016 {
00017   this->event_->unbind ();
00018 }


Member Data Documentation

TAO_LF_Event* const TAO_LF_Event_Binder::event_ [private]
 

Keep a reference to the leader follower.

Definition at line 46 of file LF_Event_Binder.h.


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 12:22:08 2006 for TAO by doxygen 1.3.6