diff options
Diffstat (limited to 'ACE/TAO/orbsvcs/examples/Notify/Lanes/ORB_Run_Task.h')
-rw-r--r-- | ACE/TAO/orbsvcs/examples/Notify/Lanes/ORB_Run_Task.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/ACE/TAO/orbsvcs/examples/Notify/Lanes/ORB_Run_Task.h b/ACE/TAO/orbsvcs/examples/Notify/Lanes/ORB_Run_Task.h new file mode 100644 index 00000000000..8a535924eae --- /dev/null +++ b/ACE/TAO/orbsvcs/examples/Notify/Lanes/ORB_Run_Task.h @@ -0,0 +1,44 @@ +/* -*- C++ -*- */ +/** + * @file ORB_Run_Task.h + * + * $Id$ + * + * @author Pradeep Gore <pradeep@oomworks.com> + * + * + */ + +#ifndef TAO_Notify_ORB_RUN_TASK_H +#define TAO_Notify_ORB_RUN_TASK_H + +#include /**/ "ace/pre.h" +#include "ace/Task.h" + +#include "ORB_Objects.h" + +/** + * @class TAO_Notify_ORB_Run_Task + * + * @brief Run the ORB::run method in a seperate thread. + * + */ +class TAO_Notify_ORB_Run_Task : public ACE_Task_Base +{ +public: + /// Constructor + TAO_Notify_ORB_Run_Task (TAO_Notify_ORB_Objects& orb_objects); + + /// Destructor + ~TAO_Notify_ORB_Run_Task (); + + /// The thread entry point. + virtual int svc (void); + +private: + /// ORB Objects. + TAO_Notify_ORB_Objects orb_objects_; +}; + +#include /**/ "ace/post.h" +#endif /* TAO_Notify_ORB_RUN_TASK_H */ |