diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/EventTypeSeq.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Notify/EventTypeSeq.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/EventTypeSeq.h b/TAO/orbsvcs/orbsvcs/Notify/EventTypeSeq.h index 9f492e605e7..1a80b261ea1 100644 --- a/TAO/orbsvcs/orbsvcs/Notify/EventTypeSeq.h +++ b/TAO/orbsvcs/orbsvcs/Notify/EventTypeSeq.h @@ -28,7 +28,9 @@ * @brief Allows operations using the CosNotification::EventTypeSeq type. * */ -class TAO_Notify_Serv_Export TAO_Notify_EventTypeSeq : public ACE_Unbounded_Set <TAO_Notify_EventType> +class TAO_Notify_Serv_Export TAO_Notify_EventTypeSeq + : public ACE_Unbounded_Set <TAO_Notify_EventType> + , public TAO_Notify::Topology_Object { typedef ACE_Unbounded_Set <TAO_Notify_EventType> inherited; @@ -36,9 +38,11 @@ public: /// Constructor TAO_Notify_EventTypeSeq (void); TAO_Notify_EventTypeSeq (const CosNotification::EventTypeSeq& event_type_seq); + TAO_Notify_EventTypeSeq (const TAO_Notify_EventTypeSeq & rhs); + TAO_Notify_EventTypeSeq & operator = (const TAO_Notify_EventTypeSeq & rhs); /// Preprocess the types added and removed. - void init (TAO_Notify_EventTypeSeq& added, TAO_Notify_EventTypeSeq& removed); + void add_and_remove (TAO_Notify_EventTypeSeq& added, TAO_Notify_EventTypeSeq& removed); /// Populate this sequence with the intersection of rhs and lhs. void intersection (const TAO_Notify_EventTypeSeq& rhs, const TAO_Notify_EventTypeSeq& lhs); @@ -64,11 +68,15 @@ public: /// Print the contents. void dump (void) const; -}; -#if defined (__ACE_INLINE__) -#include "EventTypeSeq.inl" -#endif /* __ACE_INLINE__ */ + // TAO_Notify::Topology_Object + + virtual void save_persistent (TAO_Notify::Topology_Saver& saver ACE_ENV_ARG_DECL); + virtual TAO_Notify::Topology_Object* load_child (const ACE_CString &type, CORBA::Long id, + const TAO_Notify::NVPList& attrs ACE_ENV_ARG_DECL); + virtual void release (void); + +}; #include /**/ "ace/post.h" #endif /* TAO_Notify_EVENTTYPESEQ_H */ |