ACE_Dynamic_Message_Strategy Class ReferenceAn abstract base class which provides dynamic priority evaluation methods for use by the ACE_Dynamic_Message_Queue class or any other class which needs to manage the priorities of a collection of ACE_Message_Blocks dynamically. More...
Inheritance diagram for ACE_Dynamic_Message_Strategy:
![]()
Collaboration diagram for ACE_Dynamic_Message_Strategy:
![]()
Detailed DescriptionAn abstract base class which provides dynamic priority evaluation methods for use by the ACE_Dynamic_Message_Queue class or any other class which needs to manage the priorities of a collection of ACE_Message_Blocks dynamically.Methods for deadline and laxity based priority evaluation are provided. These methods assume a specific partitioning of the message priority number into a higher order dynamic bit field and a lower order static priority bit field. The default partitioning assumes an unsigned dynamic message priority field of 22 bits and an unsigned static message priority field of 10 bits. This corresponds to the initial values of the static class members. To provide a different partitioning, assign a different set of values to the static class memebers before using the static member functions. Member Enumeration Documentation
Constructor & Destructor Documentation
Constructor.
Virtual destructor.
Member Function Documentation
Updates the message's priority and returns its priority status.
Get static bit field mask.
Set static bit field mask.
Get left shift value to make room for static bit field.
Set left shift value to make room for static bit field.
Get maximum supported priority value.
Set maximum supported priority value.
Get offset to boundary between signed range and unsigned range.
Set offset to boundary between signed range and unsigned range.
Dump the state of the strategy.
Reimplemented in ACE_Deadline_Message_Strategy, and ACE_Laxity_Message_Strategy.
Hook method for dynamic priority conversion.
Implemented in ACE_Deadline_Message_Strategy, and ACE_Laxity_Message_Strategy.
Member Data Documentation
This is a bit mask with all ones in the static bit field.
This is a left shift value to make room for static bit field: this value should be the logarithm base 2 of (static_bit_field_mask_ + 1).
Maximum supported priority value.
Offset to boundary between signed range and unsigned range.
Maximum late time value that can be represented.
Minimum pending time value that can be represented.
Time value by which to shift pending priority.
The documentation for this class was generated from the following files: Generated on Mon Sep 15 07:14:52 2008 for ACE by ![]() |