Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / orbsvcs / performance-tests / RTEvent / lib / Send_Task_Stopper.h
blob0bcc0c76555b5395936b4b122235eb39e9efa8fb
1 /**
2 * @file Send_Task_Stopper.h
4 * @author Carlos O'Ryan <coryan@uci.edu>
5 */
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)
14 # pragma once
15 #endif /* ACE_LACKS_PRAGMA_ONCE */
17 /**
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>
24 public:
25 /// Constructor
26 Send_Task_Stopper (int priority,
27 int scheduling_class,
28 Send_Task *task);
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 */