Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Event_Service_Constants.h File Reference

#include "ace/Message_Block.h"
#include "orbsvcs/orbsvcs/Time_Utilities.h"

Include dependency graph for Event_Service_Constants.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Defines

#define ACE_ES_DISPATCHING_MODULE   ACE_ES_Priority_Dispatching

Typedefs

typedef TAO_SYNCH_MUTEX ACE_ES_MUTEX
typedef ACE_Guard< ACE_ES_MUTEXACE_ES_GUARD
typedef TAO_SYNCH_RW_MUTEX ACE_ES_RW_LOCK
typedef ACE_Write_Guard< ACE_ES_RW_LOCKACE_ES_WGUARD
typedef ACE_Read_Guard< ACE_ES_RW_LOCKACE_ES_RGUARD

Variables

const int ACE_ES_MAX_SUBSCRIPTIONS = 32
 This is the number of events a consumer can subscribe to.

const int ACE_ES_MAX_CONSUMERS_PER_SUPPLIER = 100
const long ACE_ES_EVENT_ANY = 0
const long ACE_ES_EVENT_SHUTDOWN = 1
const long ACE_ES_EVENT_ACT = 2
const long ACE_ES_EVENT_NOTIFICATION = 3
const long ACE_ES_EVENT_TIMEOUT = 4
const long ACE_ES_EVENT_INTERVAL_TIMEOUT = 5
const long ACE_ES_EVENT_DEADLINE_TIMEOUT = 6
const long ACE_ES_GLOBAL_DESIGNATOR = 7
const long ACE_ES_CONJUNCTION_DESIGNATOR = 8
const long ACE_ES_DISJUNCTION_DESIGNATOR = 9
const long ACE_ES_NEGATION_DESIGNATOR = 10
const long ACE_ES_LOGICAL_AND_DESIGNATOR = 11
const long ACE_ES_BITMASK_DESIGNATOR = 12
const long ACE_ES_MASKED_TYPE_DESIGNATOR = 13
const long ACE_ES_NULL_DESIGNATOR = 14
const long ACE_ES_EVENT_UNDEFINED = 16
const long ACE_ES_EVENT_SOURCE_ANY = 0
const long ACE_Scheduler_MAX_PRIORITIES = 5
const TimeBase::TimeT ACE_Scheduler_Rates [ACE_Scheduler_MAX_PRIORITIES]
const long ACE_Scheduler_MIN_PREEMPTION_PRIORITY
 The minimum preemption priority.

const long ACE_Scheduler_MAX_PREEMPTION_PRIORITY = 0
 Max preemption priority.

const u_long ACE_Scheduler_MAX_SUB_PRIORITY
 This is the maximum sub priority.

const u_long ACE_Scheduler_MIN_SUB_PRIORITY
 This is the minimum sub priority.

const int THREADS_PER_DISPATCH_QUEUE = 1
const int ACE_ES_EVENT_CONTAINER_MEMORY_POOL = 1024
const int ACE_ES_EVENT_MEMORY_POOL = 1024
const int ACE_ES_DISPATCH_REQUEST_MEMORY_POOL = 1024

Detailed Description

Id:
Event_Service_Constants.h,v 1.18 2004/02/04 20:20:20 parsons Exp

Keep constants required by both Event Service implementation and the Scheduling Service implementation.

Author:
Carlos O'Ryan (coryan@cs.wustl.edu)

Define Documentation

#define ACE_ES_DISPATCHING_MODULE   ACE_ES_Priority_Dispatching
 

ACE_ES_DISPATCHING_MODULE determines what Dispatching Module is used by the channel. ACE_ES_Dispatching_Base is a null dispatcher that can be used to build an EFD.


Typedef Documentation

typedef ACE_Guard<ACE_ES_MUTEX> ACE_ES_GUARD
 

typedef TAO_SYNCH_MUTEX ACE_ES_MUTEX
 

typedef ACE_Read_Guard<ACE_ES_RW_LOCK> ACE_ES_RGUARD
 

typedef TAO_SYNCH_RW_MUTEX ACE_ES_RW_LOCK
 

typedef ACE_Write_Guard<ACE_ES_RW_LOCK> ACE_ES_WGUARD
 


Variable Documentation

const long ACE_ES_BITMASK_DESIGNATOR = 12
 

const long ACE_ES_CONJUNCTION_DESIGNATOR = 8
 

const long ACE_ES_DISJUNCTION_DESIGNATOR = 9
 

const int ACE_ES_DISPATCH_REQUEST_MEMORY_POOL = 1024
 

const long ACE_ES_EVENT_ACT = 2
 

const long ACE_ES_EVENT_ANY = 0
 

const int ACE_ES_EVENT_CONTAINER_MEMORY_POOL = 1024
 

This is the chunk size of the cached allocator for ACE_ES_Event_Container.

const long ACE_ES_EVENT_DEADLINE_TIMEOUT = 6
 

const long ACE_ES_EVENT_INTERVAL_TIMEOUT = 5
 

const int ACE_ES_EVENT_MEMORY_POOL = 1024
 

const long ACE_ES_EVENT_NOTIFICATION = 3
 

const long ACE_ES_EVENT_SHUTDOWN = 1
 

const long ACE_ES_EVENT_SOURCE_ANY = 0
 

const long ACE_ES_EVENT_TIMEOUT = 4
 

const long ACE_ES_EVENT_UNDEFINED = 16
 

const long ACE_ES_GLOBAL_DESIGNATOR = 7
 

const long ACE_ES_LOGICAL_AND_DESIGNATOR = 11
 

const long ACE_ES_MASKED_TYPE_DESIGNATOR = 13
 

const int ACE_ES_MAX_CONSUMERS_PER_SUPPLIER = 100
 

Max number of consumers that one supplier can have subscribed to one type of event (including source-only). This restriction is very lightweight since subscription lists are dynamic. This constant is only used for ACE_ES_Simple_Set in Event_Channel.* for disconnecting consumers. Since these objects are allocated off the stack, we can increase this number without requiring more heap memory.

const int ACE_ES_MAX_SUBSCRIPTIONS = 32
 

This is the number of events a consumer can subscribe to.

const long ACE_ES_NEGATION_DESIGNATOR = 10
 

const long ACE_ES_NULL_DESIGNATOR = 14
 

const long ACE_Scheduler_MAX_PREEMPTION_PRIORITY = 0
 

Max preemption priority.

const long ACE_Scheduler_MAX_PRIORITIES = 5
 

The max number of priorities provided by the target platform.

Todo:
This should be defined in ACE (somehow) and only mapped here to some variables (and even that is doubtful).

const u_long ACE_Scheduler_MAX_SUB_PRIORITY
 

Initial value:

This is the maximum sub priority.

const long ACE_Scheduler_MIN_PREEMPTION_PRIORITY
 

Initial value:

The minimum preemption priority.

const u_long ACE_Scheduler_MIN_SUB_PRIORITY
 

Initial value:

This is the minimum sub priority.

const TimeBase::TimeT ACE_Scheduler_Rates[ACE_Scheduler_MAX_PRIORITIES]
 

Initial value:

 {
     250000, 
     500000, 
    1000000, 
    2000000, 
   10000000  
}

const int THREADS_PER_DISPATCH_QUEUE = 1
 

This is the number of threads spawned for *each* priority queue in the channel's Dispatching Module. This is used by the channel when creating the dispatch module.


Generated on Fri Apr 2 18:30:46 2004 for TAO_RTEvent by doxygen1.2.18