DAnCE
..
|
#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 | ||
) |
|
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 | ( | ) |
|
protected |
unsigned int DAnCE::Completion_Counter_Base< ACE_LOCK >::fail_count | ( | ) |
|
protected |
|
protected |
void DAnCE::Completion_Counter_Base< ACE_LOCK >::increment_fail_count | ( | const char * | error | ) |
|
protectedpure virtual |
|
protectedpure virtual |
|
private |
|
private |
|
private |
|
mutableprivate |