TAO_EC_Reactive_Dispatching Class Reference

Dispatch using the caller thread. More...

#include <EC_Reactive_Dispatching.h>

Inheritance diagram for TAO_EC_Reactive_Dispatching:

Inheritance graph
[legend]
Collaboration diagram for TAO_EC_Reactive_Dispatching:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_EC_Reactive_Dispatching (void)
virtual void activate (void)
virtual void shutdown (void)
virtual void push (TAO_EC_ProxyPushSupplier *proxy, RtecEventComm::PushConsumer_ptr consumer, const RtecEventComm::EventSet &event, TAO_EC_QOS_Info &qos_info ACE_ENV_ARG_DECL_WITH_DEFAULTS)
virtual void push_nocopy (TAO_EC_ProxyPushSupplier *proxy, RtecEventComm::PushConsumer_ptr consumer, RtecEventComm::EventSet &event, TAO_EC_QOS_Info &qos_info ACE_ENV_ARG_DECL_WITH_DEFAULTS)

Detailed Description

Dispatch using the caller thread.

The events are dispatched in FIFO ordering, using the invoking thread to push the event to the consumer.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_EC_Reactive_Dispatching::TAO_EC_Reactive_Dispatching ( void   ) 

The scheduler is used to find the range of priorities and similar info.


Member Function Documentation

void TAO_EC_Reactive_Dispatching::activate ( void   )  [virtual]

Initialize all the data structures, activate any internal threads, etc.

Implements TAO_EC_Dispatching.

virtual void TAO_EC_Reactive_Dispatching::push ( TAO_EC_ProxyPushSupplier proxy,
RtecEventComm::PushConsumer_ptr  consumer,
const RtecEventComm::EventSet event,
TAO_EC_QOS_Info &qos_info  ACE_ENV_ARG_DECL_WITH_DEFAULTS 
) [virtual]

The consumer represented by proxy should receive event. It can use the information in qos_info to determine the event priority (among other things).

Implements TAO_EC_Dispatching.

virtual void TAO_EC_Reactive_Dispatching::push_nocopy ( TAO_EC_ProxyPushSupplier proxy,
RtecEventComm::PushConsumer_ptr  consumer,
RtecEventComm::EventSet event,
TAO_EC_QOS_Info &qos_info  ACE_ENV_ARG_DECL_WITH_DEFAULTS 
) [virtual]

Implements TAO_EC_Dispatching.

void TAO_EC_Reactive_Dispatching::shutdown ( void   )  [virtual]

Deactivate any internal threads and cleanup internal data structures, it should only return once the threads have finished their jobs.

Implements TAO_EC_Dispatching.


The documentation for this class was generated from the following files:
Generated on Tue Nov 21 09:55:20 2006 for TAO_RTEvent by  doxygen 1.4.7-1