ACE  6.3.3
Static Public Member Functions | List of all members
ACE_Message_Queue_Factory< ACE_SYNCH_DECL, TIME_POLICY > Class Template Reference

ACE_Message_Queue_Factory is a static factory class template which provides a separate factory method for each of the major kinds of priority based message dispatching: static, earliest deadline first (EDF), and minimum laxity first (MLF). More...

#include <Message_Queue_T.h>

Static Public Member Functions

static ACE_Message_Queue< ACE_SYNCH_USE, TIME_POLICY > * create_static_message_queue (size_t hwm=ACE_Message_Queue_Base::DEFAULT_HWM, size_t lwm=ACE_Message_Queue_Base::DEFAULT_LWM, ACE_Notification_Strategy *=0)
 Factory method for a statically prioritized ACE_Message_Queue. More...
 
static ACE_Dynamic_Message_Queue< ACE_SYNCH_USE, TIME_POLICY > * create_deadline_message_queue (size_t hwm=ACE_Message_Queue_Base::DEFAULT_HWM, size_t lwm=ACE_Message_Queue_Base::DEFAULT_LWM, ACE_Notification_Strategy *=0, u_long static_bit_field_mask=0x3FFUL, u_long static_bit_field_shift=10, u_long dynamic_priority_max=0x3FFFFFUL, u_long dynamic_priority_offset=0x200000UL)
 Factory method for a dynamically prioritized (by time to deadline) ACE_Dynamic_Message_Queue. More...
 
static ACE_Dynamic_Message_Queue< ACE_SYNCH_USE, TIME_POLICY > * create_laxity_message_queue (size_t hwm=ACE_Message_Queue_Base::DEFAULT_HWM, size_t lwm=ACE_Message_Queue_Base::DEFAULT_LWM, ACE_Notification_Strategy *=0, u_long static_bit_field_mask=0x3FFUL, u_long static_bit_field_shift=10, u_long dynamic_priority_max=0x3FFFFFUL, u_long dynamic_priority_offset=0x200000UL)
 Factory method for a dynamically prioritized (by laxity) ACE_Dynamic_Message_Queue. More...
 
static ACE_Message_Queue_NTcreate_NT_message_queue (size_t max_threads)
 Factory method for a NT message queue. More...
 

Detailed Description

template<ACE_SYNCH_DECL, class TIME_POLICY = ACE_System_Time_Policy>
class ACE_Message_Queue_Factory< ACE_SYNCH_DECL, TIME_POLICY >

ACE_Message_Queue_Factory is a static factory class template which provides a separate factory method for each of the major kinds of priority based message dispatching: static, earliest deadline first (EDF), and minimum laxity first (MLF).

The ACE_Dynamic_Message_Queue class assumes responsibility for releasing the resources of the strategy with which it was constructed: the user of a message queue constructed by any of these factory methods is only responsible for ensuring destruction of the message queue itself.

Member Function Documentation

template<ACE_SYNCH_DECL , class TIME_POLICY >
ACE_Dynamic_Message_Queue< ACE_SYNCH_USE, TIME_POLICY > * ACE_Message_Queue_Factory< ACE_SYNCH_DECL, TIME_POLICY >::create_deadline_message_queue ( size_t  hwm = ACE_Message_Queue_Base::DEFAULT_HWM,
size_t  lwm = ACE_Message_Queue_Base::DEFAULT_LWM,
ACE_Notification_Strategy ns = 0,
u_long  static_bit_field_mask = 0x3FFUL,
u_long  static_bit_field_shift = 10,
u_long  dynamic_priority_max = 0x3FFFFFUL,
u_long  dynamic_priority_offset = 0x200000UL 
)
static

Factory method for a dynamically prioritized (by time to deadline) ACE_Dynamic_Message_Queue.

template<ACE_SYNCH_DECL , class TIME_POLICY >
ACE_Dynamic_Message_Queue< ACE_SYNCH_USE, TIME_POLICY > * ACE_Message_Queue_Factory< ACE_SYNCH_DECL, TIME_POLICY >::create_laxity_message_queue ( size_t  hwm = ACE_Message_Queue_Base::DEFAULT_HWM,
size_t  lwm = ACE_Message_Queue_Base::DEFAULT_LWM,
ACE_Notification_Strategy ns = 0,
u_long  static_bit_field_mask = 0x3FFUL,
u_long  static_bit_field_shift = 10,
u_long  dynamic_priority_max = 0x3FFFFFUL,
u_long  dynamic_priority_offset = 0x200000UL 
)
static

Factory method for a dynamically prioritized (by laxity) ACE_Dynamic_Message_Queue.

template<ACE_SYNCH_DECL , class TIME_POLICY >
ACE_Message_Queue_NT * ACE_Message_Queue_Factory< ACE_SYNCH_DECL, TIME_POLICY >::create_NT_message_queue ( size_t  max_threads)
static

Factory method for a NT message queue.

template<ACE_SYNCH_DECL , class TIME_POLICY >
ACE_Message_Queue< ACE_SYNCH_USE, TIME_POLICY > * ACE_Message_Queue_Factory< ACE_SYNCH_DECL, TIME_POLICY >::create_static_message_queue ( size_t  hwm = ACE_Message_Queue_Base::DEFAULT_HWM,
size_t  lwm = ACE_Message_Queue_Base::DEFAULT_LWM,
ACE_Notification_Strategy ns = 0 
)
static

Factory method for a statically prioritized ACE_Message_Queue.


The documentation for this class was generated from the following files: