TAO_RTEvent
2.0.8
|
Implement a builder for the fundamental filters. More...
#include <EC_Sched_Filter_Builder.h>
Public Member Functions | |
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) const |
Private Member Functions | |
TAO_EC_Filter * | recursive_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_Base * | event_channel_ |
The event channel. |
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.
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...
TAO_EC_Filter * TAO_EC_Sched_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_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 | ||
) | 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 | ||
) | const [private] |
Build the name recursively...
The event channel.