ACE  6.2.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ACE_Refcounted_Hash_Recyclable< T > Class Template Reference

#include <Strategies_T.h>

Inheritance diagram for ACE_Refcounted_Hash_Recyclable< T >:
Inheritance graph
[legend]
Collaboration diagram for ACE_Refcounted_Hash_Recyclable< T >:
Collaboration graph
[legend]

Public Member Functions

 ACE_Refcounted_Hash_Recyclable (void)
 Default constructor. More...
 
 ACE_Refcounted_Hash_Recyclable (const T &t, long refcount=0, ACE_Recyclable_State state=ACE_RECYCLABLE_UNKNOWN)
 Constructor. More...
 
virtual ~ACE_Refcounted_Hash_Recyclable (void)
 Destructor. More...
 
bool operator== (const ACE_Refcounted_Hash_Recyclable< T > &rhs) const
 Compares two instances. More...
 
bool operator!= (const ACE_Refcounted_Hash_Recyclable< T > &rhs) const
 
T & subject ()
 
- Public Member Functions inherited from ACE_Refcountable_T< ACE_Null_Mutex >
virtual ~ACE_Refcountable_T (void)
 Destructor. More...
 
long increment (void)
 Increment refcount. More...
 
long decrement (void)
 Decrement refcount. More...
 
long refcount (void) const
 Returns the current refcount. More...
 
- Public Member Functions inherited from ACE_Hashable
virtual ~ACE_Hashable (void)
 Destructor. More...
 
virtual unsigned long hash (void) const
 
- Public Member Functions inherited from ACE_Recyclable
virtual ~ACE_Recyclable (void)
 Destructor. More...
 
ACE_Recyclable_State recycle_state (void) const
 Get the recyclable bit. More...
 
void recycle_state (ACE_Recyclable_State new_state)
 Set the recyclable bit. More...
 

Protected Member Functions

u_long hash_i (void) const
 Computes and returns hash value. More...
 
- Protected Member Functions inherited from ACE_Refcountable_T< ACE_Null_Mutex >
 ACE_Refcountable_T (long refcount)
 Protected constructor. More...
 
- Protected Member Functions inherited from ACE_Hashable
 ACE_Hashable (void)
 Protected constructor. More...
 
- Protected Member Functions inherited from ACE_Recyclable
 ACE_Recyclable (ACE_Recyclable_State initial_state)
 Constructor. More...
 

Protected Attributes

t_
 
- Protected Attributes inherited from ACE_Refcountable_T< ACE_Null_Mutex >
ACE_Atomic_Op< ACE_Null_Mutex,
long > 
refcount_
 Current refcount. More...
 
- Protected Attributes inherited from ACE_Hashable
unsigned long hash_value_
 Pre-computed hash-value. More...
 
- Protected Attributes inherited from ACE_Recyclable
ACE_Recyclable_State recycle_state_
 Our state. More...
 

Constructor & Destructor Documentation

template<class T >
ACE_Refcounted_Hash_Recyclable< T >::ACE_Refcounted_Hash_Recyclable ( void  )
inline

Default constructor.

template<class T >
ACE_Refcounted_Hash_Recyclable< T >::ACE_Refcounted_Hash_Recyclable ( const T &  t,
long  refcount = 0,
ACE_Recyclable_State  state = ACE_RECYCLABLE_UNKNOWN 
)
inline

Constructor.

template<class T >
ACE_Refcounted_Hash_Recyclable< T >::~ACE_Refcounted_Hash_Recyclable ( void  )
virtual

Destructor.

Member Function Documentation

template<class T >
u_long ACE_Refcounted_Hash_Recyclable< T >::hash_i ( void  ) const
inlineprotectedvirtual

Computes and returns hash value.

Implements ACE_Hashable.

template<class T >
bool ACE_Refcounted_Hash_Recyclable< T >::operator!= ( const ACE_Refcounted_Hash_Recyclable< T > &  rhs) const
inline
template<class T >
bool ACE_Refcounted_Hash_Recyclable< T >::operator== ( const ACE_Refcounted_Hash_Recyclable< T > &  rhs) const
inline

Compares two instances.

template<class T >
T & ACE_Refcounted_Hash_Recyclable< T >::subject ( void  )
inline

Member Data Documentation

template<class T >
T ACE_Refcounted_Hash_Recyclable< T >::t_
protected

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