blob: cecd975359ed94439462bb0e20e902aecd056476 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
/**
* @file ORB_Task_Activator.h
*
* @author Carlos O'Ryan <coryan@uci.edu>
*/
#ifndef TAO_PERF_RTEC_ORB_TASK_ACTIVATOR_H
#define TAO_PERF_RTEC_ORB_TASK_ACTIVATOR_H
#include "ORB_Task.h"
#include "Task_Activator.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
/**
* @class ORB_Task_Activator
*
* @brief Implement a helper class to activate and stop Send_Tasks.
*/
class TAO_RTEC_Perf_Export ORB_Task_Activator : public Task_Activator<ORB_Task>
{
public:
/// Constructor
ORB_Task_Activator (int priority,
int scheduling_class,
int nthreads,
ORB_Task *task);
/// Destructor, stop the task and wait for it
~ORB_Task_Activator (void);
};
#if defined(__ACE_INLINE__)
#include "ORB_Task_Activator.inl"
#endif /* __ACE_INLINE__ */
#endif /* TAO_PERF_RTEC_ORB_TASK_ACTIVATOR_H */
|