Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# TAO_EC_Sched_Filter_Builder Class Reference

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

`#include <EC_Sched_Filter_Builder.h>`

Inheritance diagram for TAO_EC_Sched_Filter_Builder:

[legend]
Collaboration diagram for TAO_EC_Sched_Filter_Builder:

[legend]
List of all members.

## Public Methods
| TAO_EC_Sched_Filter_Builder (TAO_EC_Event_Channel_Base *ec)
| constructor.
virtual | ~TAO_EC_Sched_Filter_Builder (void)
| destructor...
TAO_EC_Filter * | build (TAO_EC_ProxyPushSupplier *supplier, RtecEventChannelAdmin::ConsumerQOS &qos ACE_ENV_ARG_DECL) const
## Private Methods
TAO_EC_Filter * | recursive_build (TAO_EC_ProxyPushSupplier *supplier, RtecEventChannelAdmin::ConsumerQOS &qos, CORBA::ULong &pos, RtecScheduler::Scheduler_ptr scheduler, RtecScheduler::handle_t parent_info ACE_ENV_ARG_DECL) const
| Recursively build the filter tree.
void | recursive_name (RtecEventChannelAdmin::ConsumerQOS &qos, CORBA::ULong &pos, RtecScheduler::Scheduler_ptr scheduler, ACE_CString &name ACE_ENV_ARG_DECL) const
| Build the name recursively...
CORBA::ULong | count_children (RtecEventChannelAdmin::ConsumerQOS &qos, CORBA::ULong pos) const
## Private Attributes
TAO_EC_Event_Channel_Base * | event_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

ACE_INLINE TAO_EC_Sched_Filter_Builder::TAO_EC_Sched_Filter_Builder | ( | TAO_EC_Event_Channel_Base * | ec | ) |

| constructor.

TAO_EC_Sched_Filter_Builder::~TAO_EC_Sched_Filter_Builder | ( | void |  | ) | `[virtual]`

| destructor...

## Member Function Documentation

TAO_EC_Filter * TAO_EC_Sched_Filter_Builder::build | ( | TAO_EC_ProxyPushSupplier * | supplier,
|  | RtecEventChannelAdmin::ConsumerQOS &qos | ACE_ENV_ARG_DECL
| ) | const`[virtual]`

| Create the filter, the caller must assume ownership of the filter returned. Implements TAO_EC_Filter_Builder.

CORBA::ULong TAO_EC_Sched_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_Sched_Filter_Builder::recursive_build | ( | TAO_EC_ProxyPushSupplier * | supplier,
|  | RtecEventChannelAdmin::ConsumerQOS & | qos,
|  | CORBA::ULong & | pos,
|  | RtecScheduler::Scheduler_ptr | scheduler,
|  | RtecScheduler::handle_t parent_info | ACE_ENV_ARG_DECL
| ) | const`[private]`

| Recursively build the filter tree.

void TAO_EC_Sched_Filter_Builder::recursive_name | ( | RtecEventChannelAdmin::ConsumerQOS & | qos,
|  | CORBA::ULong & | pos,
|  | RtecScheduler::Scheduler_ptr | scheduler,
|  | ACE_CString &name | ACE_ENV_ARG_DECL
| ) | const`[private]`

| Build the name recursively...

## Member Data Documentation

TAO_EC_Event_Channel_Base* TAO_EC_Sched_Filter_Builder::event_channel_`[private]`

| The event channel.

The documentation for this class was generated from the following files:

- EC_Sched_Filter_Builder.h
- EC_Sched_Filter_Builder.cpp
- EC_Sched_Filter_Builder.i