2 * @file Send_Task_Stopper.h
4 * @author Carlos O'Ryan <coryan@uci.edu>
7 #ifndef TAO_PERF_RTEC_SEND_TASK_STOPPER_H
8 #define TAO_PERF_RTEC_SEND_TASK_STOPPER_H
10 #include "Send_Task.h"
11 #include "Task_Activator.h"
13 #if !defined (ACE_LACKS_PRAGMA_ONCE)
15 #endif /* ACE_LACKS_PRAGMA_ONCE */
18 * @class Send_Task_Stopper
20 * @brief Implement a helper class to activate and stop Send_Tasks.
22 class TAO_RTEC_Perf_Export Send_Task_Stopper
: public Task_Activator
<Send_Task
>
26 Send_Task_Stopper (int priority
,
30 /// Destructor, stop the task and wait for it
31 ~Send_Task_Stopper ();
34 #if defined(__ACE_INLINE__)
35 #include "Send_Task_Stopper.inl"
36 #endif /* __ACE_INLINE__ */
38 #endif /* TAO_PERF_RTEC_SEND_TASK_STOPPER_H */