TAO_RTEvent
2.0.8
|
Implement a builder for the fundamental filters. More...
#include <EC_Basic_Filter_Builder.h>
Public Member Functions | |
TAO_EC_Basic_Filter_Builder (TAO_EC_Event_Channel_Base *ec) | |
constructor. | |
virtual | ~TAO_EC_Basic_Filter_Builder (void) |
destructor... | |
TAO_EC_Filter * | build (TAO_EC_ProxyPushSupplier *supplier, RtecEventChannelAdmin::ConsumerQOS &qos) const |
Private Member Functions | |
TAO_EC_Filter * | recursive_build (TAO_EC_ProxyPushSupplier *supplier, RtecEventChannelAdmin::ConsumerQOS &qos, CORBA::ULong &pos) const |
Recursively build the filter tree. | |
CORBA::ULong | count_children (RtecEventChannelAdmin::ConsumerQOS &qos, CORBA::ULong pos) const |
Private Attributes | |
TAO_EC_Event_Channel_Base * | event_channel_ |
The event channel. |
Implement a builder for the fundamental filters.
The basic filtering mechanisms in the Event channel (source/type based filtering + disjunctions, conjunctions, logical ands, negations, and bitmasks) are constructed using this class.
TAO_EC_Basic_Filter_Builder::TAO_EC_Basic_Filter_Builder | ( | TAO_EC_Event_Channel_Base * | ec | ) |
constructor.
TAO_EC_Basic_Filter_Builder::~TAO_EC_Basic_Filter_Builder | ( | void | ) | [virtual] |
destructor...
TAO_EC_Filter * TAO_EC_Basic_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_Basic_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, disjunction, logical and, bitmask, or negation occurs.
TAO_EC_Filter * TAO_EC_Basic_Filter_Builder::recursive_build | ( | TAO_EC_ProxyPushSupplier * | supplier, |
RtecEventChannelAdmin::ConsumerQOS & | qos, | ||
CORBA::ULong & | pos | ||
) | const [private] |
Recursively build the filter tree.
The event channel.