#include <Completion_Counter_Base.h>
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_type & | errors () 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_ |
typedef std::vector<std::string> DAnCE::Completion_Counter_Base< ACE_LOCK >::errors_type |
typedef ACE_LOCK DAnCE::Completion_Counter_Base< ACE_LOCK >::lock_type |
DAnCE::Completion_Counter_Base< ACE_LOCK >::Completion_Counter_Base | ( | unsigned int | exec_count, | |
unsigned int | fail_count | |||
) |
DAnCE::Completion_Counter_Base< ACE_LOCK >::~Completion_Counter_Base | ( | ) | [virtual] |
bool DAnCE::Completion_Counter_Base< ACE_LOCK >::all_completed | ( | ) |
void DAnCE::Completion_Counter_Base< ACE_LOCK >::decrement_exec_count | ( | ) |
const Completion_Counter_Base< ACE_LOCK >::errors_type & DAnCE::Completion_Counter_Base< ACE_LOCK >::errors | ( | ) | const |
unsigned int DAnCE::Completion_Counter_Base< ACE_LOCK >::exec_count | ( | ) |
unsigned int DAnCE::Completion_Counter_Base< ACE_LOCK >::exec_count_i | ( | ) | [protected] |
unsigned int DAnCE::Completion_Counter_Base< ACE_LOCK >::fail_count | ( | ) |
unsigned int DAnCE::Completion_Counter_Base< ACE_LOCK >::fail_count_i | ( | ) | [protected] |
void DAnCE::Completion_Counter_Base< ACE_LOCK >::increment_exec_count | ( | ) | [protected] |
void DAnCE::Completion_Counter_Base< ACE_LOCK >::increment_fail_count | ( | const char * | error | ) |
virtual void DAnCE::Completion_Counter_Base< ACE_LOCK >::on_all_completed | ( | ) | [protected, pure virtual] |
virtual void DAnCE::Completion_Counter_Base< ACE_LOCK >::on_all_completed_with_failure | ( | ) | [protected, pure virtual] |
errors_type DAnCE::Completion_Counter_Base< ACE_LOCK >::errors_ [private] |
unsigned int DAnCE::Completion_Counter_Base< ACE_LOCK >::exec_count_ [private] |
unsigned int DAnCE::Completion_Counter_Base< ACE_LOCK >::fail_count_ [private] |
ACE_LOCK DAnCE::Completion_Counter_Base< ACE_LOCK >::lock_ [mutable, private] |