summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Event/EC_Type_Filter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Event/EC_Type_Filter.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/EC_Type_Filter.cpp83
1 files changed, 0 insertions, 83 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Type_Filter.cpp b/TAO/orbsvcs/orbsvcs/Event/EC_Type_Filter.cpp
deleted file mode 100644
index 0eef922ab1c..00000000000
--- a/TAO/orbsvcs/orbsvcs/Event/EC_Type_Filter.cpp
+++ /dev/null
@@ -1,83 +0,0 @@
-// $Id$
-
-#include "EC_Type_Filter.h"
-
-#if ! defined (__ACE_INLINE__)
-#include "EC_Filter.i"
-#endif /* __ACE_INLINE__ */
-
-ACE_RCSID(Event, EC_Type_Filter, "$Id$")
-
-TAO_EC_Type_Filter::TAO_EC_Type_Filter (const RtecEventComm::EventHeader& header)
- : header_ (header)
-{
-}
-
-int
-TAO_EC_Type_Filter::filter (const RtecEventComm::EventSet& event,
- TAO_EC_QOS_Info& qos_info,
- CORBA::Environment& ACE_TRY_ENV)
-{
- // @@ It this the right way to do this?
- if (event.length () != 1)
- return 0;
-
- if (TAO_EC_Filter::matches (this->header_, event[0].header))
- {
- this->push (event, qos_info, ACE_TRY_ENV);
- return 1;
- }
- return 0;
-}
-
-int
-TAO_EC_Type_Filter::filter_nocopy (RtecEventComm::EventSet& event,
- TAO_EC_QOS_Info& qos_info,
- CORBA::Environment& ACE_TRY_ENV)
-{
- // @@ It this the right way to do this?
- if (event.length () != 1)
- return 0;
-
- if (TAO_EC_Filter::matches (this->header_, event[0].header))
- {
- this->push_nocopy (event, qos_info, ACE_TRY_ENV);
- return 1;
- }
- return 0;
-}
-
-void
-TAO_EC_Type_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_Type_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_Type_Filter::clear (void)
-{
-}
-
-CORBA::ULong
-TAO_EC_Type_Filter::max_event_size (void) const
-{
- return 1;
-}
-
-void
-TAO_EC_Type_Filter::event_ids(TAO_EC_Filter::Headers& headers)
-{
- headers.insert (this->header_, 1);
-}