summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/EventTypeSeq.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/EventTypeSeq.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/EventTypeSeq.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/EventTypeSeq.h b/TAO/orbsvcs/orbsvcs/Notify/EventTypeSeq.h
index cad64ad4596..b695dc9ea10 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/EventTypeSeq.h
+++ b/TAO/orbsvcs/orbsvcs/Notify/EventTypeSeq.h
@@ -20,8 +20,7 @@
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "EventType.h"
-
-template<class T> class ACE_Unbounded_Set;
+#include "ace/Unbounded_Set.h"
/**
* @class TAO_NS_EventTypeSeq
@@ -41,6 +40,9 @@ public:
/// Preprocess the types added and removed.
void init (TAO_NS_EventTypeSeq& added, TAO_NS_EventTypeSeq& removed);
+ /// Populate this sequence with the intersection of rhs and lhs.
+ void intersection (const TAO_NS_EventTypeSeq& rhs, const TAO_NS_EventTypeSeq& lhs);
+
/// insert_seq the contents of <event_type_seq> into this object.
void insert_seq (const CosNotification::EventTypeSeq& event_type_seq);
@@ -54,7 +56,14 @@ public:
void remove_seq (const TAO_NS_EventTypeSeq& event_type_seq);
/// Populate <event_type_seq> with the contents of this object.
- void populate (CosNotification::EventTypeSeq& event_type_seq) const;
+ void populate (CosNotification::EventTypeSeq& event_type) const;
+
+ /// Populate <event_type_seq> with the contents of this object.
+ // Excludes the special event type. This is used to avoid sending * type updates to proxys.
+ void populate_no_special (CosNotification::EventTypeSeq& event_type) const;
+
+ /// Print the contents.
+ void dump (void) const;
};
#if defined (__ACE_INLINE__)