fintp_utils
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
FinTP::WorkItem< T > Class Template Reference

#include <WorkItemPool.h>

Classes

class  CounterTypeWrapper
 

Public Member Functions

 WorkItem ()
 
 WorkItem (volatile T *item)
 
 WorkItem (const WorkItem< T > &source)
 
 ~WorkItem ()
 
const WorkItem< T > & Clone ()
 
void RemoveReference () volatile
 
WorkItemoperator= (const WorkItem< T > &source)
 
T * get () const
 
unsigned int getRefCount () volatile
 
pthread_t getOwnerThread ()
 

Private Types

typedef volatile CounterTypeWrapper CounterType
 

Private Attributes

volatile T * m_ItemRef
 
pthread_t m_OwnerThread
 
CounterTypem_RefCount
 

Member Typedef Documentation

template<class T>
typedef volatile CounterTypeWrapper FinTP::WorkItem< T >::CounterType
private

Constructor & Destructor Documentation

template<class T>
FinTP::WorkItem< T >::WorkItem ( )
inline
template<class T>
FinTP::WorkItem< T >::WorkItem ( volatile T *  item)
inlineexplicit
template<class T>
FinTP::WorkItem< T >::WorkItem ( const WorkItem< T > &  source)
inline
template<class T>
FinTP::WorkItem< T >::~WorkItem ( )
inline

Member Function Documentation

template<class T>
const WorkItem< T >& FinTP::WorkItem< T >::Clone ( )
inline
template<class T>
T* FinTP::WorkItem< T >::get ( ) const
inline
template<class T>
pthread_t FinTP::WorkItem< T >::getOwnerThread ( )
inline
template<class T>
unsigned int FinTP::WorkItem< T >::getRefCount ( ) volatile
inline
template<class T>
WorkItem& FinTP::WorkItem< T >::operator= ( const WorkItem< T > &  source)
inline
template<class T>
void FinTP::WorkItem< T >::RemoveReference ( ) volatile
inline

Member Data Documentation

template<class T>
volatile T* FinTP::WorkItem< T >::m_ItemRef
private
template<class T>
pthread_t FinTP::WorkItem< T >::m_OwnerThread
private
template<class T>
CounterType* FinTP::WorkItem< T >::m_RefCount
private

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