TAO_CosNotification  2.0.6
Public Member Functions | Private Member Functions | Private Attributes
TAO_Notify_Refcountable_Guard_T Class 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>

List of all members.

Public Member Functions

 TAO_Notify_Refcountable_Guard_T (T *t=0)
 Constructor.
 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.
bool isSet (void) const
 Boolean test.
T * operator-> (void) const
 Redirection operator.
T & operator* () const
 Dereference operator.
void reset (T *t=0)
 Reassignment.
TAO_Notify_Refcountable_Guard_T
< T > & 
operator= (const TAO_Notify_Refcountable_Guard_T< T > &rhs)
 Assignment.

Private Member Functions

void swap (TAO_Notify_Refcountable_Guard_T< T > &rhs)

Private Attributes

T * t_

Detailed Description

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::TAO_Notify_Refcountable_Guard_T ( T *  t = 0) [explicit]

Constructor.

TAO_Notify_Refcountable_Guard_T::TAO_Notify_Refcountable_Guard_T ( const TAO_Notify_Refcountable_Guard_T< T > &  rhs)

Copy constructor.

TAO_Notify_Refcountable_Guard_T::~TAO_Notify_Refcountable_Guard_T ( )

Destructor.


Member Function Documentation

T * TAO_Notify_Refcountable_Guard_T::get ( void  ) const

Redirection operator.

bool TAO_Notify_Refcountable_Guard_T::isSet ( void  ) const

Boolean test.

T & TAO_Notify_Refcountable_Guard_T::operator* ( void  ) const

Dereference operator.

T * TAO_Notify_Refcountable_Guard_T::operator-> ( void  ) const

Redirection operator.

TAO_Notify_Refcountable_Guard_T< T > & TAO_Notify_Refcountable_Guard_T::operator= ( const TAO_Notify_Refcountable_Guard_T< T > &  rhs)

Assignment.

void TAO_Notify_Refcountable_Guard_T::reset ( T *  t = 0)

Reassignment.

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

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines