DAnCE  ..
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
DAnCE::Deployment_Completion Class Reference

#include <Deployment_Completion.h>

Inheritance diagram for DAnCE::Deployment_Completion:
Inheritance graph
Collaboration diagram for DAnCE::Deployment_Completion:
Collaboration graph

Public Member Functions

 Deployment_Completion (Deployment_Scheduler &sched)
 
virtual ~Deployment_Completion (void)
 
virtual void update (const Event_Future &future)
 
void accept (Event_Future &future)
 
bool wait_on_completion (ACE_Time_Value *tv)
 Waits for completion of all events, with a timeout. More...
 
void completed_events (Event_List &event_list)
 
- Public Member Functions inherited from ACE_Future_Observer< Event_Result >
virtual ~ACE_Future_Observer (void)
 
virtual void update (const ACE_Future< T > &future)=0
 
- Public Member Functions inherited from DAnCE::Completion_Counter_Base< TAO_SYNCH_MUTEX >
 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

virtual void on_all_completed ()
 
virtual void on_all_completed_with_failure ()
 
bool single_threaded_wait_on_completion (ACE_Time_Value *tv)
 
- Protected Member Functions inherited from ACE_Future_Observer< Event_Result >
 ACE_Future_Observer (void)
 
- Protected Member Functions inherited from DAnCE::Completion_Counter_Base< TAO_SYNCH_MUTEX >
void increment_exec_count ()
 
unsigned int exec_count_i ()
 
unsigned int fail_count_i ()
 

Private Attributes

Deployment_Schedulersched_
 
TAO_SYNCH_MUTEX mutex_
 
ACE_Condition< TAO_SYNCH_MUTEXcondition_
 
Event_List completed_events_
 

Additional Inherited Members

- Public Types inherited from DAnCE::Completion_Counter_Base< TAO_SYNCH_MUTEX >
typedef TAO_SYNCH_MUTEX lock_type
 
typedef std::vector< std::string > errors_type
 
- Public Attributes inherited from ACE_Future_Observer< Event_Result >
 ACE_ALLOC_HOOK_DECLARE
 

Constructor & Destructor Documentation

DAnCE::Deployment_Completion::Deployment_Completion ( Deployment_Scheduler sched)
DAnCE::Deployment_Completion::~Deployment_Completion ( void  )
virtual

Member Function Documentation

void DAnCE::Deployment_Completion::accept ( Event_Future future)
void DAnCE::Deployment_Completion::completed_events ( Event_List event_list)
void DAnCE::Deployment_Completion::on_all_completed ( )
protectedvirtual
void DAnCE::Deployment_Completion::on_all_completed_with_failure ( )
protectedvirtual
bool DAnCE::Deployment_Completion::single_threaded_wait_on_completion ( ACE_Time_Value tv)
protected
void DAnCE::Deployment_Completion::update ( const Event_Future future)
virtual
bool DAnCE::Deployment_Completion::wait_on_completion ( ACE_Time_Value tv)

Waits for completion of all events, with a timeout.

Member Data Documentation

Event_List DAnCE::Deployment_Completion::completed_events_
private
ACE_Condition< TAO_SYNCH_MUTEX > DAnCE::Deployment_Completion::condition_
private
TAO_SYNCH_MUTEX DAnCE::Deployment_Completion::mutex_
private
Deployment_Scheduler& DAnCE::Deployment_Completion::sched_
private

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