Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / orbsvcs / examples / Notify / ThreadPool / ORB_Run_Task.h
blobf14f5f5ed2bf9939efc6dd6f0c07fbfcda57087b
1 /* -*- C++ -*- */
2 /**
3 * @file ORB_Run_Task.h
5 * @author Pradeep Gore <pradeep@oomworks.com>
6 */
8 #ifndef TAO_Notify_ORB_RUN_TASK_H
9 #define TAO_Notify_ORB_RUN_TASK_H
11 #include /**/ "ace/pre.h"
12 #include "ace/Task.h"
14 #include "ORB_Objects.h"
16 /**
17 * @class TAO_Notify_ORB_Run_Task
19 * @brief Run the ORB::run method in a separate thread.
21 class TAO_Notify_ORB_Run_Task : public ACE_Task_Base
23 public:
24 /// Constructor
25 TAO_Notify_ORB_Run_Task (TAO_Notify_ORB_Objects& orb_objects);
27 /// Destructor
28 ~TAO_Notify_ORB_Run_Task ();
30 /// The thread entry point.
31 virtual int svc (void);
33 private:
34 /// ORB Objects.
35 TAO_Notify_ORB_Objects orb_objects_;
38 #include /**/ "ace/post.h"
39 #endif /* TAO_Notify_ORB_RUN_TASK_H */