Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / orbsvcs / tests / EC_Throughput / ECT_Driver.h
blob1d8a800c5396bbf74f4053784fc9814afe5eb7cb
1 /* -*- C++ -*- */
2 //
3 // ============================================================================
4 //
5 // = DESCRIPTION
6 // Abstract base class for the test driver, this let us implement a
7 // collocated and a non-collocated test.
8 //
9 // ============================================================================
11 #ifndef ECT_DRIVER_H
12 #define ECT_DRIVER_H
14 #include "tao/orbconf.h"
15 #include "ace/Stats.h"
16 #include "ace/CORBA_macros.h"
17 #include "ace/Throughput_Stats.h"
19 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
20 namespace CORBA
22 class Environment;
24 TAO_END_VERSIONED_NAMESPACE_DECL
26 class ECT_Driver
29 // = TITLE
31 // = DESCRIPTION
33 public:
34 virtual ~ECT_Driver (void);
36 virtual void shutdown_consumer (void* consumer_cookie) = 0;
37 // Callback method for consumers, each consumer will call this
38 // method once it receives all the shutdown events from the
39 // suppliers.
42 #endif /* ECT_CONSUMER_H */