TAO_RTCORBA
2.2.8
|
A simple implementation of the Priority_Mapping interface. More...
#include <Linear_Priority_Mapping.h>
Public Member Functions | |
TAO_Linear_Priority_Mapping (long policy) | |
Default constructor. More... | |
virtual | ~TAO_Linear_Priority_Mapping (void) |
The destructor. More... | |
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) |
Public Member Functions inherited from TAO_Priority_Mapping | |
virtual | ~TAO_Priority_Mapping (void) |
The destructor. More... | |
Private Attributes | |
long | policy_ |
The scheduling policy. More... | |
int const | min_ |
int const | max_ |
A simple implementation of the Priority_Mapping interface.
This implementation uses linear 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_Linear_Priority_Mapping::TAO_Linear_Priority_Mapping | ( | long | policy | ) |
Default constructor.
|
virtual |
The destructor.
|
virtual |
Implements TAO_Priority_Mapping.
|
virtual |
Implements TAO_Priority_Mapping.
|
private |
|
private |
|
private |
The scheduling policy.