summaryrefslogtreecommitdiff
path: root/TAO/tao/Monitor
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-06-20 20:43:48 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-06-20 20:43:48 +0000
commit64ce482664a4f79022ea6c92c0e433e2c8faae00 (patch)
tree8f4f06c763ed206ce906fa24d5c3570d872b3c32 /TAO/tao/Monitor
parentf09fa3491029a4b2976063bb5a880fd622b57c26 (diff)
downloadATCD-64ce482664a4f79022ea6c92c0e433e2c8faae00.tar.gz
ChangeLogTag: Fri Jun 20 20:41:59 UTC 2008 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Monitor')
-rw-r--r--TAO/tao/Monitor/Monitor_Impl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/TAO/tao/Monitor/Monitor_Impl.cpp b/TAO/tao/Monitor/Monitor_Impl.cpp
index 34924e6184b..d9379f3068b 100644
--- a/TAO/tao/Monitor/Monitor_Impl.cpp
+++ b/TAO/tao/Monitor/Monitor_Impl.cpp
@@ -33,6 +33,7 @@ public:
{
}
}
+
private:
::Monitor::Subscriber_var sub_;
};
@@ -54,6 +55,7 @@ Monitor_Impl::get_statistic_names (const char * /* filter */)
CORBA::NO_MEMORY ());
CORBA::ULong index = 0;
+
for (Monitor_Control_Types::NameList::Iterator i (mc_names);
!i.done ();
i.advance (), ++index)
@@ -62,6 +64,7 @@ Monitor_Impl::get_statistic_names (const char * /* filter */)
namelist->length (length + 1);
ACE_CString *item = 0;
i.next (item);
+
// @todo Check filter
(*namelist)[length] = CORBA::string_dup (item->c_str ());
}