summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/Topology_Object.inl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/Topology_Object.inl')
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Topology_Object.inl20
1 files changed, 20 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Topology_Object.inl b/TAO/orbsvcs/orbsvcs/Notify/Topology_Object.inl
new file mode 100644
index 00000000000..1c12c7df671
--- /dev/null
+++ b/TAO/orbsvcs/orbsvcs/Notify/Topology_Object.inl
@@ -0,0 +1,20 @@
+// $Id$
+namespace TAO_NOTIFY
+{
+ ACE_INLINE
+ bool
+ Topology_Object::is_changed () const
+ {
+ return this->self_changed_ | this->children_changed_;
+ }
+
+ ACE_INLINE
+ bool
+ Topology_Parent::child_change (ACE_ENV_SINGLE_ARG_DECL)
+ {
+ this->children_changed_ = true;
+ return send_change (ACE_ENV_SINGLE_ARG_PARAMETER);
+ }
+
+} // namespace TAO_NOTIFY
+