TAO_RTEvent  2.0.6
Public Member Functions | Private Member Functions | Private Attributes
TAO_EC_Kokyu_Filter_Builder Class Reference

Implement a builder for the fundamental filters. More...

#include <EC_Kokyu_Filter_Builder.h>

Inheritance diagram for TAO_EC_Kokyu_Filter_Builder:
Inheritance graph
[legend]
Collaboration diagram for TAO_EC_Kokyu_Filter_Builder:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TAO_EC_Kokyu_Filter_Builder (TAO_EC_Event_Channel_Base *ec)
 constructor.
virtual ~TAO_EC_Kokyu_Filter_Builder (void)
 destructor...
TAO_EC_Filterbuild (TAO_EC_ProxyPushSupplier *supplier, RtecEventChannelAdmin::ConsumerQOS &qos) const

Private Member Functions

TAO_EC_Filterrecursive_build (TAO_EC_ProxyPushSupplier *supplier, RtecEventChannelAdmin::ConsumerQOS &qos, CORBA::ULong &pos, RtecScheduler::Scheduler_ptr scheduler, RtecScheduler::handle_t parent_info) const
 Recursively build the filter tree.
void recursive_name (RtecEventChannelAdmin::ConsumerQOS &qos, CORBA::ULong &pos, RtecScheduler::Scheduler_ptr scheduler, ACE_CString &name) const
 Build the name recursively...
CORBA::ULong count_children (RtecEventChannelAdmin::ConsumerQOS &qos, CORBA::ULong pos) const

Private Attributes

TAO_EC_Event_Channel_Baseevent_channel_
 The event channel.

Detailed Description

Implement a builder for the fundamental filters.

The sched filtering mechanisms in the Event channel (source/type based filtering + disjunctions and conjunctions) are constructed using this class.


Constructor & Destructor Documentation

TAO_EC_Kokyu_Filter_Builder::TAO_EC_Kokyu_Filter_Builder ( TAO_EC_Event_Channel_Base ec)

constructor.

TAO_EC_Kokyu_Filter_Builder::~TAO_EC_Kokyu_Filter_Builder ( void  ) [virtual]

destructor...


Member Function Documentation

TAO_EC_Filter * TAO_EC_Kokyu_Filter_Builder::build ( TAO_EC_ProxyPushSupplier supplier,
RtecEventChannelAdmin::ConsumerQOS qos 
) const [virtual]

Create the filter, the caller must assume ownership of the filter returned.

Implements TAO_EC_Filter_Builder.

CORBA::ULong TAO_EC_Kokyu_Filter_Builder::count_children ( RtecEventChannelAdmin::ConsumerQOS qos,
CORBA::ULong  pos 
) const [private]

Count the number of children of the current node, i.e. until a conjunction or disjunction starts.

TAO_EC_Filter * TAO_EC_Kokyu_Filter_Builder::recursive_build ( TAO_EC_ProxyPushSupplier supplier,
RtecEventChannelAdmin::ConsumerQOS qos,
CORBA::ULong pos,
RtecScheduler::Scheduler_ptr  scheduler,
RtecScheduler::handle_t  parent_info 
) const [private]

Recursively build the filter tree.

void TAO_EC_Kokyu_Filter_Builder::recursive_name ( RtecEventChannelAdmin::ConsumerQOS qos,
CORBA::ULong pos,
RtecScheduler::Scheduler_ptr  scheduler,
ACE_CString name 
) const [private]

Build the name recursively...


Member Data Documentation

The event channel.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines