TAO_EC_Null_Scheduling Class Reference

A scheduling strategy that separates event groups and delivers one event at a time. More...

#include <EC_Null_Scheduling.h>

Inheritance diagram for TAO_EC_Null_Scheduling:

Inheritance graph
[legend]
Collaboration diagram for TAO_EC_Null_Scheduling:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_EC_Null_Scheduling (void)
 Constructor.
virtual void add_proxy_supplier_dependencies (TAO_EC_ProxyPushSupplier *supplier, TAO_EC_ProxyPushConsumer *consumer)
 Add all the dependencies between supplier and consumer.
virtual void schedule_event (const RtecEventComm::EventSet &event, TAO_EC_ProxyPushConsumer *consumer, TAO_EC_Supplier_Filter *filter)

Private Member Functions

 TAO_EC_Null_Scheduling (const TAO_EC_Null_Scheduling &)
TAO_EC_Null_Schedulingoperator= (const TAO_EC_Null_Scheduling &)

Detailed Description

A scheduling strategy that separates event groups and delivers one event at a time.

Definition at line 32 of file EC_Null_Scheduling.h.


Constructor & Destructor Documentation

ACE_INLINE TAO_EC_Null_Scheduling::TAO_EC_Null_Scheduling ( void   ) 

Constructor.

Definition at line 4 of file EC_Null_Scheduling.inl.

00005 {
00006 }

TAO_EC_Null_Scheduling::TAO_EC_Null_Scheduling ( const TAO_EC_Null_Scheduling  )  [private]


Member Function Documentation

void TAO_EC_Null_Scheduling::add_proxy_supplier_dependencies ( TAO_EC_ProxyPushSupplier supplier,
TAO_EC_ProxyPushConsumer consumer 
) [virtual]

Add all the dependencies between supplier and consumer.

Implements TAO_EC_Scheduling_Strategy.

Definition at line 14 of file EC_Null_Scheduling.cpp.

00017 {
00018 }

TAO_EC_Null_Scheduling& TAO_EC_Null_Scheduling::operator= ( const TAO_EC_Null_Scheduling  )  [private]

void TAO_EC_Null_Scheduling::schedule_event ( const RtecEventComm::EventSet event,
TAO_EC_ProxyPushConsumer consumer,
TAO_EC_Supplier_Filter filter 
) [virtual]

Schedule an event set and deliver them to the filter in the desired order and grouping.

Implements TAO_EC_Scheduling_Strategy.

Definition at line 21 of file EC_Null_Scheduling.cpp.

References TAO_EC_Supplier_Filter::push_scheduled_event().

00024 {
00025   for (CORBA::ULong j = 0; j < event.length (); ++j)
00026     {
00027       const RtecEventComm::Event& e = event[j];
00028       RtecEventComm::Event* buffer =
00029         const_cast<RtecEventComm::Event*> (&e);
00030       RtecEventComm::EventSet single_event (1, 1, buffer, 0);
00031 
00032       TAO_EC_QOS_Info event_info;
00033       filter->push_scheduled_event (single_event, event_info);
00034     }
00035 }


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:44:31 2010 for TAO_RTEvent by  doxygen 1.4.7