TAO_RTEvent
2.0.8
|
A generic factory for EC experimentation. More...
#include <EC_Default_Factory.h>
A generic factory for EC experimentation.
This class allows the user to experiment with different EC configurations. Using a command-line like interface the user can specify which strategies will this factory generate. Since the class can be dynamically loaded the strategies can be set in the service configurator file.
TAO_EC_Default_Factory::TAO_EC_Default_Factory | ( | void | ) |
Constructor.
TAO_EC_Default_Factory::~TAO_EC_Default_Factory | ( | void | ) | [virtual] |
destructor...
int TAO_EC_Default_Factory::consumer_collection | ( | void | ) | const |
Accessors to consumer collection flags.
TAO_EC_ConsumerAdmin * TAO_EC_Default_Factory::create_consumer_admin | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
Create and destroy the consumer admin implementation.
Implements TAO_EC_Factory.
TAO_EC_ConsumerControl * TAO_EC_Default_Factory::create_consumer_control | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
The ConsumerControl and SupplierControl strategies are used to discard non-existent consumers and suppliers
Implements TAO_EC_Factory.
ACE_Lock * TAO_EC_Default_Factory::create_consumer_lock | ( | void | ) | [virtual] |
Create and destroy the locking strategies for both ProxyPushConsumers and ProxyPushSuppliers
Implements TAO_EC_Factory.
TAO_EC_Dispatching * TAO_EC_Default_Factory::create_dispatching | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
Create and destroy the dispatching module.
Implements TAO_EC_Factory.
Reimplemented in TAO_EC_Kokyu_Factory, TAO_EC_Sched_Factory, and TAO_EC_TPC_Factory.
TAO_EC_Filter_Builder * TAO_EC_Default_Factory::create_filter_builder | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
Create and destroy the filter builder.
Implements TAO_EC_Factory.
Reimplemented in TAO_EC_Kokyu_Factory, and TAO_EC_Sched_Factory.
TAO_EC_ObserverStrategy * TAO_EC_Default_Factory::create_observer_strategy | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
Create and destroy the observer strategy.
Implements TAO_EC_Factory.
TAO_EC_ProxyPushConsumer * TAO_EC_Default_Factory::create_proxy_push_consumer | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
Create and destroy a ProxyPushConsumer.
Implements TAO_EC_Factory.
Reimplemented in TAO_EC_TPC_Factory.
TAO_EC_ProxyPushConsumer_Collection * TAO_EC_Default_Factory::create_proxy_push_consumer_collection | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
Create and destroy a collection of TAO_EC_ProxyPushConsumers.
Implements TAO_EC_Factory.
TAO_EC_ProxyPushSupplier * TAO_EC_Default_Factory::create_proxy_push_supplier | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
Create and destroy a ProxyPushSupplier.
Implements TAO_EC_Factory.
Reimplemented in TAO_EC_TPC_Factory.
TAO_EC_ProxyPushSupplier_Collection * TAO_EC_Default_Factory::create_proxy_push_supplier_collection | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
Create and destroy a collection of TAO_EC_ProxyPushSuppliers.
Implements TAO_EC_Factory.
TAO_EC_Scheduling_Strategy * TAO_EC_Default_Factory::create_scheduling_strategy | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
Create and destroy the observer strategy.
Implements TAO_EC_Factory.
Reimplemented in TAO_EC_Kokyu_Factory, and TAO_EC_Sched_Factory.
TAO_EC_SupplierAdmin * TAO_EC_Default_Factory::create_supplier_admin | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
Create and destroy the supplier admin implementation.
Implements TAO_EC_Factory.
TAO_EC_SupplierControl * TAO_EC_Default_Factory::create_supplier_control | ( | TAO_EC_Event_Channel_Base * | ec | ) | [virtual] |
Implements TAO_EC_Factory.
TAO_EC_Supplier_Filter_Builder * TAO_EC_Default_Factory::create_supplier_filter_builder | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
Create and destroy the filter builder.
Implements TAO_EC_Factory.
ACE_Lock * TAO_EC_Default_Factory::create_supplier_lock | ( | void | ) | [virtual] |
Implements TAO_EC_Factory.
TAO_EC_Timeout_Generator * TAO_EC_Default_Factory::create_timeout_generator | ( | TAO_EC_Event_Channel_Base * | ) | [virtual] |
Create and destroy the timer module.
Implements TAO_EC_Factory.
Reimplemented in TAO_EC_Kokyu_Factory, and TAO_EC_Sched_Factory.
void TAO_EC_Default_Factory::destroy_consumer_admin | ( | TAO_EC_ConsumerAdmin * | x | ) | [virtual] |
Implements TAO_EC_Factory.
void TAO_EC_Default_Factory::destroy_consumer_control | ( | TAO_EC_ConsumerControl * | x | ) | [virtual] |
Implements TAO_EC_Factory.
void TAO_EC_Default_Factory::destroy_consumer_lock | ( | ACE_Lock * | x | ) | [virtual] |
Implements TAO_EC_Factory.
void TAO_EC_Default_Factory::destroy_dispatching | ( | TAO_EC_Dispatching * | x | ) | [virtual] |
Implements TAO_EC_Factory.
void TAO_EC_Default_Factory::destroy_filter_builder | ( | TAO_EC_Filter_Builder * | x | ) | [virtual] |
Implements TAO_EC_Factory.
void TAO_EC_Default_Factory::destroy_observer_strategy | ( | TAO_EC_ObserverStrategy * | x | ) | [virtual] |
Implements TAO_EC_Factory.
void TAO_EC_Default_Factory::destroy_proxy_push_consumer | ( | TAO_EC_ProxyPushConsumer * | x | ) | [virtual] |
Implements TAO_EC_Factory.
void TAO_EC_Default_Factory::destroy_proxy_push_consumer_collection | ( | TAO_EC_ProxyPushConsumer_Collection * | x | ) | [virtual] |
Implements TAO_EC_Factory.
void TAO_EC_Default_Factory::destroy_proxy_push_supplier | ( | TAO_EC_ProxyPushSupplier * | x | ) | [virtual] |
Implements TAO_EC_Factory.
void TAO_EC_Default_Factory::destroy_proxy_push_supplier_collection | ( | TAO_EC_ProxyPushSupplier_Collection * | x | ) | [virtual] |
Implements TAO_EC_Factory.
void TAO_EC_Default_Factory::destroy_scheduling_strategy | ( | TAO_EC_Scheduling_Strategy * | x | ) | [virtual] |
Implements TAO_EC_Factory.
void TAO_EC_Default_Factory::destroy_supplier_admin | ( | TAO_EC_SupplierAdmin * | x | ) | [virtual] |
Implements TAO_EC_Factory.
void TAO_EC_Default_Factory::destroy_supplier_control | ( | TAO_EC_SupplierControl * | x | ) | [virtual] |
Implements TAO_EC_Factory.
void TAO_EC_Default_Factory::destroy_supplier_filter_builder | ( | TAO_EC_Supplier_Filter_Builder * | x | ) | [virtual] |
Implements TAO_EC_Factory.
void TAO_EC_Default_Factory::destroy_supplier_lock | ( | ACE_Lock * | x | ) | [virtual] |
Implements TAO_EC_Factory.
void TAO_EC_Default_Factory::destroy_timeout_generator | ( | TAO_EC_Timeout_Generator * | x | ) | [virtual] |
Implements TAO_EC_Factory.
TAO_EC_Queue_Full_Service_Object * TAO_EC_Default_Factory::find_service_object | ( | const ACE_TCHAR * | wanted, |
const ACE_TCHAR * | fallback | ||
) | [protected] |
name of ACE_Service_Object which should be invoked when output queue becomes full
int TAO_EC_Default_Factory::fini | ( | void | ) | [virtual] |
Reimplemented from ACE_Shared_Object.
Reimplemented in TAO_EC_Kokyu_Factory, and TAO_EC_Sched_Factory.
int TAO_EC_Default_Factory::init | ( | int | argc, |
ACE_TCHAR * | argv[] | ||
) | [virtual] |
Reimplemented from ACE_Shared_Object.
Reimplemented in TAO_EC_Kokyu_Factory, TAO_EC_TPC_Factory, and TAO_EC_Sched_Factory.
int TAO_EC_Default_Factory::init_svcs | ( | void | ) | [static] |
Helper function to register the default factory into the service configurator.
Reimplemented in TAO_EC_Kokyu_Factory, and TAO_EC_TPC_Factory.
const ACE_CString & TAO_EC_Default_Factory::orb_id | ( | void | ) | const |
Accessor to ORBid.
int TAO_EC_Default_Factory::supplier_collection | ( | void | ) | const |
Accessors to supplier collection flags.
int TAO_EC_Default_Factory::supplier_filtering | ( | void | ) | const |
Accessors to supplier filtering flags.
void TAO_EC_Default_Factory::unsupported_option_value | ( | const ACE_TCHAR * | option_name, |
const ACE_TCHAR * | option_value | ||
) | [protected] |
Helper for agrument parsing. Prints out an error message about unsupported option value.
int TAO_EC_Default_Factory::consumer_collection_ [protected] |
int TAO_EC_Default_Factory::consumer_control_ [protected] |
The consumer and supplier control policies.
int TAO_EC_Default_Factory::consumer_control_period_ [protected] |
The consumer and supplier control periods in usecs.
The consumer control timeout in usecs.
int TAO_EC_Default_Factory::consumer_lock_ [protected] |
int TAO_EC_Default_Factory::consumer_validate_connection_ [protected] |
Validate the connection to consumer on connect.
int TAO_EC_Default_Factory::dispatching_ [protected] |
Several flags to control the kind of object created.
int TAO_EC_Default_Factory::dispatching_threads_ [protected] |
Flags used by thread-based dispatching strategies.
int TAO_EC_Default_Factory::dispatching_threads_flags_ [protected] |
number of threads; may be ignored depending on strategy; default: TAO_EC_DEFAULT_DISPATCHING_THREADS
int TAO_EC_Default_Factory::dispatching_threads_force_active_ [protected] |
dispatching thread priority; default: TAO_EC_DEFAULT_DISPATCHING_THREADS_PRIORITY
int TAO_EC_Default_Factory::dispatching_threads_priority_ [protected] |
flags for thread creation; default: TAO_EC_DEFAULT_DISPATCHING_THREADS_FLAGS
int TAO_EC_Default_Factory::filtering_ [protected] |
int TAO_EC_Default_Factory::observer_ [protected] |
ACE_CString TAO_EC_Default_Factory::orbid_ [protected] |
Use this ORB to locate global resources.
create threads with innocuous default values if creation with requested values fails
int TAO_EC_Default_Factory::scheduling_ [protected] |
int TAO_EC_Default_Factory::supplier_collection_ [protected] |
int TAO_EC_Default_Factory::supplier_control_ [protected] |
int TAO_EC_Default_Factory::supplier_control_period_ [protected] |
The supplier control timeout in usecs.
int TAO_EC_Default_Factory::supplier_filtering_ [protected] |
int TAO_EC_Default_Factory::supplier_lock_ [protected] |
int TAO_EC_Default_Factory::timeout_ [protected] |