From 6ed5aac3b48fd166ae0409f942869721920a4dec Mon Sep 17 00:00:00 2001 From: coryan Date: Mon, 30 Aug 1999 20:51:16 +0000 Subject: ChangeLogTag:Mon Aug 30 15:15:39 1999 Carlos O'Ryan --- TAO/tao/default_resource.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'TAO/tao/default_resource.h') diff --git a/TAO/tao/default_resource.h b/TAO/tao/default_resource.h index 297de51fea1..920162af283 100644 --- a/TAO/tao/default_resource.h +++ b/TAO/tao/default_resource.h @@ -73,12 +73,20 @@ public: TAO_REACTOR_TP }; + // = Reactor mappings strategy + enum + { + TAO_SINGLE_REACTOR, + TAO_REACTOR_PER_PRIORITY + }; + int cdr_allocator_source (void); // Modify and get the source for the CDR allocators // = Resource Retrieval virtual int use_tss_resources (void) const; virtual int use_locked_data_blocks (void) const; + virtual TAO_Reactor_Registry *get_reactor_registry (void); virtual ACE_Reactor *get_reactor (void); virtual TAO_Acceptor_Registry *get_acceptor_registry (void); virtual TAO_Connector_Registry *get_connector_registry (void); @@ -91,6 +99,7 @@ public: virtual TAO_Resource_Factory::Caching_Strategy connection_caching_strategy_type (void) const; virtual double purge_percentage (void) const; + virtual TAO_Priority_Mapping *get_priority_mapping (void); protected: virtual ACE_Reactor_Impl *allocate_reactor_impl (void) const; @@ -104,6 +113,9 @@ protected: int use_locked_data_blocks_; // The type of data blocks that the ORB should use + int reactor_registry_type_; + // The type of reactor registry. + int reactor_type_; // Flag indicating which kind of reactor we should use. @@ -123,6 +135,9 @@ protected: int reactor_mask_signals_; // If <0> then we create reactors with signal handling disabled. + + int sched_policy_; + // The scheduling policy used for the priority mapping class }; #if defined (__ACE_INLINE__) -- cgit v1.2.1