TAO_RTEvent
2.3.3
|
A null filtering strategy. More...
#include <EC_Trivial_Supplier_Filter.h>
Public Member Functions | |
TAO_EC_Trivial_Supplier_Filter (TAO_EC_Event_Channel_Base *ec) | |
Constructor. More... | |
virtual void | bind (TAO_EC_ProxyPushConsumer *consumer) |
virtual void | unbind (TAO_EC_ProxyPushConsumer *consumer) |
virtual void | connected (TAO_EC_ProxyPushSupplier *supplier) |
virtual void | reconnected (TAO_EC_ProxyPushSupplier *supplier) |
virtual void | disconnected (TAO_EC_ProxyPushSupplier *supplier) |
virtual void | shutdown (void) |
The event channel is shutting down. More... | |
virtual void | push (const RtecEventComm::EventSet &event, TAO_EC_ProxyPushConsumer *consumer) |
virtual void | push_scheduled_event (RtecEventComm::EventSet &event, const TAO_EC_QOS_Info &event_info) |
virtual CORBA::ULong | _decr_refcnt (void) |
virtual CORBA::ULong | _incr_refcnt (void) |
![]() | |
virtual | ~TAO_EC_Supplier_Filter (void) |
Destructor. More... | |
Private Attributes | |
TAO_EC_Event_Channel_Base * | event_channel_ |
The event channel, used to locate the set of consumers. More... | |
A null filtering strategy.
This strategy does no filtering, it is useful for backends of the CosEventChannel, testing and broadcasters; it uses the ConsumerAdmin to find all the consumers and pushes the event to all of them.
TAO_EC_Trivial_Supplier_Filter::TAO_EC_Trivial_Supplier_Filter | ( | TAO_EC_Event_Channel_Base * | ec | ) |
Constructor.
|
virtual |
Implements TAO_EC_Supplier_Filter.
|
virtual |
Increment and decrement the reference count, locking must be provided by the user.
Implements TAO_EC_Supplier_Filter.
|
virtual |
Whenever a ProxyPushConsumer is initialized it calls this method to inform the Supplier_Filter of its identity. Strategies that do not keep ProxyPushConsumer specific information, or that are shared between multiple ProxyPushConsumers can ignore this message.
Implements TAO_EC_Supplier_Filter.
|
virtual |
Concrete implementations can use this methods to keep track of the consumers interested in this events.
Implements TAO_EC_Supplier_Filter.
|
virtual |
Implements TAO_EC_Supplier_Filter.
|
virtual |
The ProxyPushConsumer delegates on this class to actually send the event.
Implements TAO_EC_Supplier_Filter.
|
virtual |
Events are first scheduled by the TAO_EC_Scheduling_Strategy, and then pushed through this class again.
Implements TAO_EC_Supplier_Filter.
|
virtual |
Implements TAO_EC_Supplier_Filter.
|
virtual |
The event channel is shutting down.
Implements TAO_EC_Supplier_Filter.
|
virtual |
Wheneve a ProxyPushConsumer is about to be destroyed it calls this method to inform the Supplier_Filter that it should release any resources related to it. Supplier_Filter strategies that are bound to a particular ProxyConsumer can use this opportunity to destroy themselves; filter strategies that do not keep ProxyPushConsumer specific information can simply ignore the message.
Implements TAO_EC_Supplier_Filter.
|
private |
The event channel, used to locate the set of consumers.