Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TAO_Notify_Refcountable_Guard_T< T > Class Template Reference

Increments the reference count in the constructor, the count is decremented in the destructor. More...

#include <Refcountable_Guard_T.h>

Collaboration diagram for TAO_Notify_Refcountable_Guard_T< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_Notify_Refcountable_Guard_T (T *t=0)
 Constuctor.
 TAO_Notify_Refcountable_Guard_T (const TAO_Notify_Refcountable_Guard_T< T > &rhs)
 Copy constructor.
 ~TAO_Notify_Refcountable_Guard_T ()
 Destructor.
T * get (void) const
 Redirection operator.
T * operator-> (void) const
 Redirection operator.
T & operator * () const
TAO_Notify_Refcountable_Guard_T<
T > & 
operator= (const TAO_Notify_Refcountable_Guard_T< T > &rhs)

Private Member Functions

void swap (TAO_Notify_Refcountable_Guard_T &rhs)

Private Attributes

T * t_

Detailed Description

template<class T>
class TAO_Notify_Refcountable_Guard_T< T >

Increments the reference count in the constructor, the count is decremented in the destructor.


Constructor & Destructor Documentation

template<class T>
TAO_Notify_Refcountable_Guard_T< T >::TAO_Notify_Refcountable_Guard_T T *  t = 0  ) 
 

Constuctor.

template<class T>
TAO_Notify_Refcountable_Guard_T< T >::TAO_Notify_Refcountable_Guard_T const TAO_Notify_Refcountable_Guard_T< T > &  rhs  ) 
 

Copy constructor.

template<class T>
TAO_Notify_Refcountable_Guard_T< T >::~TAO_Notify_Refcountable_Guard_T  ) 
 

Destructor.


Member Function Documentation

template<class T>
T* TAO_Notify_Refcountable_Guard_T< T >::get void   )  const
 

Redirection operator.

template<class T>
T& TAO_Notify_Refcountable_Guard_T< T >::operator *  )  const
 

template<class T>
T* TAO_Notify_Refcountable_Guard_T< T >::operator-> void   )  const
 

Redirection operator.

template<class T>
TAO_Notify_Refcountable_Guard_T<T>& TAO_Notify_Refcountable_Guard_T< T >::operator= const TAO_Notify_Refcountable_Guard_T< T > &  rhs  ) 
 

template<class T>
void TAO_Notify_Refcountable_Guard_T< T >::swap TAO_Notify_Refcountable_Guard_T< T > &  rhs  )  [private]
 

helper for exception safeness

Exceptions:
nothing 


Member Data Documentation

template<class T>
T* TAO_Notify_Refcountable_Guard_T< T >::t_ [private]
 


The documentation for this class was generated from the following file:
Generated on Fri Dec 31 16:10:29 2004 for TAO_CosNotification by  doxygen 1.3.9.1