TAO_RTCORBA
2.1.6
|
An implementation of the Priority_Mapping interface for communication between different platforms. More...
#include <Multi_Priority_Mapping.h>
Public Member Functions | |
TAO_Multi_Priority_Mapping (int base_native_priority, int base_corba_priority, int priority_spacing=1, int priorities_contiguous=1, int policy=ACE_SCHED_FIFO) | |
Default constructor. | |
virtual | ~TAO_Multi_Priority_Mapping (void) |
The destructor. | |
virtual CORBA::Boolean | to_native (RTCORBA::Priority corba_priority, RTCORBA::NativePriority &native_priority) |
virtual CORBA::Boolean | to_CORBA (RTCORBA::NativePriority native_priority, RTCORBA::Priority &corba_priority) |
![]() | |
virtual | ~TAO_Priority_Mapping (void) |
The destructor. |
Private Attributes | |
int | base_native_priority_ |
The base settings. | |
int | base_corba_priority_ |
const int | priority_spacing_ |
const int | priorities_contiguous_ |
int | policy_ |
The scheduling policy. | |
int const | min_ |
The range. | |
int const | max_ |
An implementation of the Priority_Mapping interface for communication between different platforms.
This implementation uses a custom mapping between the range of priorities for a given scheduling class (ACE_SCHED_OTHER, ACE_SCHED_FIFO, ACE_SCHED_RR) and the valid range of CORBA priorities (0...32767)
TAO_Multi_Priority_Mapping::TAO_Multi_Priority_Mapping | ( | int | base_native_priority, |
int | base_corba_priority, | ||
int | priority_spacing = 1 , |
||
int | priorities_contiguous = 1 , |
||
int | policy = ACE_SCHED_FIFO |
||
) |
Default constructor.
base_native_priority | The native priority to use for the highest priority endpoint. |
base_corba_priority | The corba priority to use for the highest priority endpoint |
priority_spacing | The priority increment to use between endpoints |
priorities_contiguous | Some platforms do use contiguous priorities |
policy | The scheduling policy to use. |
|
virtual |
The destructor.
|
virtual |
Implements TAO_Priority_Mapping.
|
virtual |
Implements TAO_Priority_Mapping.
|
private |
|
private |
The base settings.
|
private |
|
private |
The range.
|
private |
The scheduling policy.
|
private |
|
private |