diff options
Diffstat (limited to 'TAO/orbsvcs/performance-tests/EC_Colocated_Latency/Receive_Task.h')
-rw-r--r-- | TAO/orbsvcs/performance-tests/EC_Colocated_Latency/Receive_Task.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/TAO/orbsvcs/performance-tests/EC_Colocated_Latency/Receive_Task.h b/TAO/orbsvcs/performance-tests/EC_Colocated_Latency/Receive_Task.h new file mode 100644 index 00000000000..e6b0c58b648 --- /dev/null +++ b/TAO/orbsvcs/performance-tests/EC_Colocated_Latency/Receive_Task.h @@ -0,0 +1,39 @@ +/** + * @file Receive_Task.h + * + * $Id$ + * + */ + +#ifndef ECCL_RECEIVE_TASK_H +#define ECCL_RECEIVE_TASK_H + +#include "tao/ORB.h" +#include "ace/Task.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +/** + * @class ECCL_Receive_Task + * + * @brief Implement a simple ACE_Task to receive the events + * + */ +class ECCL_Receive_Task : public ACE_Task_Base +{ +public: + /// Constructor + ECCL_Receive_Task (CORBA::ORB_ptr orb); + + /// Run the experiment + int svc (void); + +private: + /// The consumer + CORBA::ORB_var orb_; +}; + + +#endif /* ECCL_RECEIVE_TASK_H */ |