sttcl  v0.9c
STTCL C++ template state machine framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sttcl::internal::RefCountPtrBase< MutexType > Class Template Reference

#include <RefCountPtr.h>

Inheritance diagram for sttcl::internal::RefCountPtrBase< MutexType >:
Collaboration diagram for sttcl::internal::RefCountPtrBase< MutexType >:

List of all members.

Classes

struct  PtrRef

Public Types

typedef void(* ReleaseFunc )(void *ptr)

Public Member Functions

 ~RefCountPtrBase ()

Protected Member Functions

 RefCountPtrBase ()
 RefCountPtrBase (void *argPointee, ReleaseFunc argReleaseFunc)
 RefCountPtrBase (const RefCountPtrBase &rhs)
RefCountPtrBaseoperator= (const RefCountPtrBase< MutexType > &rhs)
void incrementRefCount ()
void decrementRefCount ()

Protected Attributes

PtrRefptrRef

Member Typedef Documentation

template<class MutexType>
typedef void(* sttcl::internal::RefCountPtrBase< MutexType >::ReleaseFunc)(void *ptr)

The signature of a release function.

Parameters:
ptrThe pointee to release (delete).

Constructor & Destructor Documentation

template<class MutexType>
sttcl::internal::RefCountPtrBase< MutexType >::~RefCountPtrBase ( )
inline

Destructor for class RefCountPtrBase. This operation will decrement the reference count of the managed pointee.

template<class MutexType>
sttcl::internal::RefCountPtrBase< MutexType >::RefCountPtrBase ( )
inlineprotected

Default constructor for class RefCountPtrBase.

template<class MutexType>
sttcl::internal::RefCountPtrBase< MutexType >::RefCountPtrBase ( void *  argPointee,
ReleaseFunc  argReleaseFunc 
)
inlineprotected

Constructor for class RefCountPtrBase.

template<class MutexType>
sttcl::internal::RefCountPtrBase< MutexType >::RefCountPtrBase ( const RefCountPtrBase< MutexType > &  rhs)
inlineprotected

Copy constructor for class RefCountPtrBase.

Parameters:
rhsThe other instance to copy from.

Member Function Documentation

template<class MutexType >
void sttcl::internal::RefCountPtrBase< MutexType >::decrementRefCount ( )
protected
template<class MutexType >
void sttcl::internal::RefCountPtrBase< MutexType >::incrementRefCount ( )
protected
template<class MutexType>
RefCountPtrBase& sttcl::internal::RefCountPtrBase< MutexType >::operator= ( const RefCountPtrBase< MutexType > &  rhs)
inlineprotected

Member Data Documentation

template<class MutexType>
PtrRef* sttcl::internal::RefCountPtrBase< MutexType >::ptrRef
mutableprotected

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