TAO_CosNotification  3.0.3
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TAO_Notify_Refcountable_Guard_T< T > Class Template Reference

Increments the reference count in the constructor, the count is decremented in the destructor. See Refcountable.h for further notes on usage. More...

#include <Refcountable_Guard_T.h>

Public Member Functions

 TAO_Notify_Refcountable_Guard_T (T *t=0)
 Constructor. More...
 
 TAO_Notify_Refcountable_Guard_T (const TAO_Notify_Refcountable_Guard_T< T > &rhs)
 Copy constructor. More...
 
 ~TAO_Notify_Refcountable_Guard_T ()
 Destructor. More...
 
T * get () const
 Redirection operator. More...
 
bool isSet () const
 Boolean test. More...
 
T * operator-> () const
 Redirection operator. More...
 
T & operator* () const
 Dereference operator. More...
 
void reset (T *t=0)
 Reassignment. More...
 
TAO_Notify_Refcountable_Guard_T< T > & operator= (const TAO_Notify_Refcountable_Guard_T< T > &rhs)
 Assignment. More...
 

Private Member Functions

void swap (TAO_Notify_Refcountable_Guard_T< 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. See Refcountable.h for further notes on usage.

Constructor & Destructor Documentation

◆ TAO_Notify_Refcountable_Guard_T() [1/2]

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

Constructor.

◆ TAO_Notify_Refcountable_Guard_T() [2/2]

Copy constructor.

◆ ~TAO_Notify_Refcountable_Guard_T()

Destructor.

Member Function Documentation

◆ get()

template<class T >
T * TAO_Notify_Refcountable_Guard_T< T >::get

Redirection operator.

◆ isSet()

template<class T >
bool TAO_Notify_Refcountable_Guard_T< T >::isSet

Boolean test.

◆ operator*()

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

Dereference operator.

◆ operator->()

template<class T >
T * TAO_Notify_Refcountable_Guard_T< T >::operator->

Redirection operator.

◆ 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)

Assignment.

◆ reset()

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

Reassignment.

◆ swap()

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

Member Data Documentation

◆ t_

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

The documentation for this class was generated from the following files: