TAO_Strategies
2.1.5
|
TAO's default resource factory. More...
#include <advanced_resource.h>
Public Types | |
enum | Allocator_Lock_Type { TAO_ALLOCATOR_NULL_LOCK, TAO_ALLOCATOR_THREAD_LOCK } |
Type of lock used for the allocators. More... | |
enum | { TAO_REACTOR_SELECT_MT = 1, TAO_REACTOR_SELECT_ST = 2, TAO_REACTOR_WFMO = 3, TAO_REACTOR_MSGWFMO = 4, TAO_REACTOR_TP = 5, TAO_REACTOR_DEV_POLL = 6 } |
Type of Reactor. More... | |
enum | { TAO_THREAD_QUEUE_NOT_SET, TAO_THREAD_QUEUE_FIFO, TAO_THREAD_QUEUE_LIFO } |
Thread queueing Strategy. More... | |
Public Types inherited from TAO_Default_Resource_Factory | |
enum | Output_CDR_Allocator_Type |
enum | Lock_Type |
enum | Flushing_Strategy_Type |
enum | Purging_Strategy |
enum | Resource_Usage |
Public Types inherited from TAO_Resource_Factory | |
enum | Purging_Strategy |
enum | Resource_Usage |
Public Types inherited from ACE_Service_Object | |
typedef long | Reference_Count |
Public Types inherited from ACE_Event_Handler | |
typedef long | Reference_Count |
Protected Member Functions | |
virtual ACE_Reactor_Impl * | allocate_reactor_impl (void) const |
Obtain the reactor implementation. | |
void | report_option_value_error (const ACE_TCHAR *option_name, const ACE_TCHAR *option_value) |
void | report_unsupported_error (const ACE_TCHAR *option_name) |
virtual int | load_default_protocols (void) |
Protected Member Functions inherited from TAO_Default_Resource_Factory | |
TAO_Time_Policy_Manager * | time_policy_manager (void) const |
ACE_Timer_Queue * | create_timer_queue (void) const |
void | destroy_timer_queue (ACE_Timer_Queue *tmq) const |
int | add_to_ior_parser_names (const char *) |
void | report_option_value_error (const ACE_TCHAR *option_name, const ACE_TCHAR *option_value) |
Additional Inherited Members | |
Static Public Member Functions inherited from ACE_Service_Object | |
static ACE_THR_FUNC_RETURN | read_adapter (void *event_handler) |
static int | register_stdin_handler (ACE_Event_Handler *eh, ACE_Reactor *reactor, ACE_Thread_Manager *thr_mgr, int flags=THR_DETACHED) |
static int | remove_stdin_handler (ACE_Reactor *reactor, ACE_Thread_Manager *thr_mgr) |
Public Attributes inherited from TAO_Default_Resource_Factory | |
LOCAL_MEMORY_POOL | |
DEFAULT | |
TAO_NULL_LOCK | |
TAO_THREAD_LOCK | |
TAO_LEADER_FOLLOWER_FLUSHING | |
TAO_REACTIVE_FLUSHING | |
TAO_BLOCKING_FLUSHING | |
TAO_ALLOCATOR_THREAD_LOCK | |
LRU | |
LFU | |
FIFO | |
NOOP | |
TAO_EAGER | |
TAO_LAZY | |
Protected Types inherited from ACE_Service_Object | |
typedef ACE_Atomic_Op < ACE_SYNCH_MUTEX, Reference_Count > | Atomic_Reference_Count |
TAO's default resource factory.
Using a <{resource source specifier}> as a discriminator, the factory can return resource instances which are, e.g., global, stored in thread-specific storage, stored in shared memory, etc.
anonymous enum |
Type of Reactor.
TAO_REACTOR_SELECT_MT |
Use ACE_Token. |
TAO_REACTOR_SELECT_ST |
Use ACE_Noop_Token. |
TAO_REACTOR_WFMO | |
TAO_REACTOR_MSGWFMO | |
TAO_REACTOR_TP | |
TAO_REACTOR_DEV_POLL |
anonymous enum |
TAO_Advanced_Resource_Factory::TAO_Advanced_Resource_Factory | ( | void | ) |
Constructor.
|
virtual |
Destructor.
|
protectedvirtual |
Obtain the reactor implementation.
Reimplemented from TAO_Default_Resource_Factory.
|
virtual |
Reimplemented from TAO_Default_Resource_Factory.
|
virtual |
Reimplemented from TAO_Default_Resource_Factory.
|
virtual |
Reimplemented from TAO_Default_Resource_Factory.
|
virtual |
Reimplemented from TAO_Default_Resource_Factory.
|
virtual |
Reimplemented from TAO_Default_Resource_Factory.
|
virtual |
Dynamic linking hook.
Reimplemented from TAO_Default_Resource_Factory.
|
virtual |
Reimplemented from TAO_Default_Resource_Factory.
|
virtual |
Reimplemented from TAO_Default_Resource_Factory.
|
virtual |
Reimplemented from TAO_Default_Resource_Factory.
|
virtual |
Reimplemented from TAO_Default_Resource_Factory.
|
virtual |
Reimplemented from TAO_Default_Resource_Factory.
|
protectedvirtual |
Reimplemented from TAO_Default_Resource_Factory.
|
protected |
|
protected |
|
protected |
Type of lock used by AMH response handler allocator.
|
protected |
Type of lock used by AMI response handler allocator.
|
protected |
The type of CDR allocators.
|
protected |
List of loaded protocol factories.
|
protected |
The type of reactor registry.
|
protected |
Flag indicating which kind of reactor we should use.
|
protected |
The type of queueing strategy to use for multi-threaded select reactors, TAO_REACTOR_SELECT_MT and TAO_REACTOR_TP.