DAnCE ..
Public Types | Public Member Functions | Protected Member Functions | Private Attributes
DAnCE::Completion_Counter_Base< ACE_LOCK > Class Template Reference

#include <Completion_Counter_Base.h>

Collaboration diagram for DAnCE::Completion_Counter_Base< ACE_LOCK >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef ACE_LOCK lock_type
typedef std::vector< std::string > errors_type

Public Member Functions

 Completion_Counter_Base (unsigned int exec_count, unsigned int fail_count)
virtual ~Completion_Counter_Base ()
void decrement_exec_count ()
void increment_fail_count (const char *error)
unsigned int exec_count ()
unsigned int fail_count ()
bool all_completed ()
const errors_typeerrors () const

Protected Member Functions

void increment_exec_count ()
unsigned int exec_count_i ()
unsigned int fail_count_i ()
virtual void on_all_completed ()=0
virtual void on_all_completed_with_failure ()=0

Private Attributes

ACE_LOCK lock_
unsigned int exec_count_
unsigned int fail_count_
errors_type errors_

template<class ACE_LOCK>
class DAnCE::Completion_Counter_Base< ACE_LOCK >


Member Typedef Documentation

template<class ACE_LOCK>
typedef std::vector<std::string> DAnCE::Completion_Counter_Base< ACE_LOCK >::errors_type
template<class ACE_LOCK>
typedef ACE_LOCK DAnCE::Completion_Counter_Base< ACE_LOCK >::lock_type

Constructor & Destructor Documentation

template<class ACE_LOCK >
DAnCE::Completion_Counter_Base< ACE_LOCK >::Completion_Counter_Base ( unsigned int  exec_count,
unsigned int  fail_count 
)
template<class ACE_LOCK >
DAnCE::Completion_Counter_Base< ACE_LOCK >::~Completion_Counter_Base ( ) [virtual]

Member Function Documentation

template<class ACE_LOCK >
bool DAnCE::Completion_Counter_Base< ACE_LOCK >::all_completed ( )
template<class ACE_LOCK >
void DAnCE::Completion_Counter_Base< ACE_LOCK >::decrement_exec_count ( )
template<class ACE_LOCK >
const Completion_Counter_Base< ACE_LOCK >::errors_type & DAnCE::Completion_Counter_Base< ACE_LOCK >::errors ( ) const
template<class ACE_LOCK >
unsigned int DAnCE::Completion_Counter_Base< ACE_LOCK >::exec_count ( )
template<class ACE_LOCK >
unsigned int DAnCE::Completion_Counter_Base< ACE_LOCK >::exec_count_i ( ) [protected]
template<class ACE_LOCK >
unsigned int DAnCE::Completion_Counter_Base< ACE_LOCK >::fail_count ( )
template<class ACE_LOCK >
unsigned int DAnCE::Completion_Counter_Base< ACE_LOCK >::fail_count_i ( ) [protected]
template<class ACE_LOCK >
void DAnCE::Completion_Counter_Base< ACE_LOCK >::increment_exec_count ( ) [protected]
template<class ACE_LOCK >
void DAnCE::Completion_Counter_Base< ACE_LOCK >::increment_fail_count ( const char *  error)
template<class ACE_LOCK>
virtual void DAnCE::Completion_Counter_Base< ACE_LOCK >::on_all_completed ( ) [protected, pure virtual]
template<class ACE_LOCK>
virtual void DAnCE::Completion_Counter_Base< ACE_LOCK >::on_all_completed_with_failure ( ) [protected, pure virtual]

Member Data Documentation

template<class ACE_LOCK>
errors_type DAnCE::Completion_Counter_Base< ACE_LOCK >::errors_ [private]
template<class ACE_LOCK>
unsigned int DAnCE::Completion_Counter_Base< ACE_LOCK >::exec_count_ [private]
template<class ACE_LOCK>
unsigned int DAnCE::Completion_Counter_Base< ACE_LOCK >::fail_count_ [private]
template<class ACE_LOCK>
ACE_LOCK DAnCE::Completion_Counter_Base< ACE_LOCK >::lock_ [mutable, private]

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