diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Event/EC_Filter.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Event/EC_Filter.cpp | 88 |
1 files changed, 0 insertions, 88 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Filter.cpp b/TAO/orbsvcs/orbsvcs/Event/EC_Filter.cpp deleted file mode 100644 index f27a7d6e9bf..00000000000 --- a/TAO/orbsvcs/orbsvcs/Event/EC_Filter.cpp +++ /dev/null @@ -1,88 +0,0 @@ -// $Id$ - -#include "EC_Filter.h" - -#if ! defined (__ACE_INLINE__) -#include "EC_Filter.i" -#endif /* __ACE_INLINE__ */ - -ACE_RCSID(Event, EC_Filter, "$Id$") - -TAO_EC_Filter::~TAO_EC_Filter (void) -{ -} - -void -TAO_EC_Filter::adopt_child (TAO_EC_Filter* child) -{ - child->parent_ = this; -} - -// **************************************************************** - -int -TAO_EC_Null_Filter::filter (const RtecEventComm::EventSet& event, - TAO_EC_QOS_Info& qos_info, - CORBA::Environment& ACE_TRY_ENV) -{ - // This is a leaf, no need to query any children, and we accept all - // events, so push it. - this->push (event, qos_info, ACE_TRY_ENV); - return 1; -} - -int -TAO_EC_Null_Filter::filter_nocopy (RtecEventComm::EventSet& event, - TAO_EC_QOS_Info& qos_info, - CORBA::Environment& ACE_TRY_ENV) -{ - // This is a leaf, no need to query any children, and we accept all - // events, so push it. - this->push_nocopy (event, qos_info, ACE_TRY_ENV); - return 1; -} - -void -TAO_EC_Null_Filter::push (const RtecEventComm::EventSet& event, - TAO_EC_QOS_Info& qos_info, - CORBA::Environment& ACE_TRY_ENV) -{ - if (this->parent () != 0) - this->parent ()->push (event, qos_info, ACE_TRY_ENV); -} - -void -TAO_EC_Null_Filter::push_nocopy (RtecEventComm::EventSet& event, - TAO_EC_QOS_Info& qos_info, - CORBA::Environment& ACE_TRY_ENV) -{ - if (this->parent () != 0) - this->parent ()->push_nocopy (event, qos_info, ACE_TRY_ENV); -} - -void -TAO_EC_Null_Filter::clear (void) -{ - // do nothing -} - -CORBA::ULong -TAO_EC_Null_Filter::max_event_size (void) const -{ - // @@ Is there a better way to express this? - return 0; -} - -int -TAO_EC_Null_Filter::can_match (const RtecEventComm::EventHeader&) const -{ - return 1; -} - -// **************************************************************** - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - -#elif defined(ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) - -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ |