Go to the documentation of this file.00001
00002
00003
00004
00005 #ifndef TAO_MONITOR_IMPL_H
00006 #define TAO_MONITOR_IMPL_H
00007
00008 #include "ace/pre.h"
00009
00010 #include "tao/Monitor/MonitorS.h"
00011
00012 #if defined (TAO_HAS_MONITOR_FRAMEWORK) && (TAO_HAS_MONITOR_FRAMEWORK == 1)
00013
00014 #include "tao/Monitor/Monitor_export.h"
00015 #include "ace/Monitor_Base.h"
00016
00017 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00018
00019 namespace TAO_Monitor
00020 {
00021 TAO_Monitor_Export void get_monitor_data (
00022 ::ACE::Monitor_Control::Monitor_Base *monitor,
00023 Monitor::Data& data,
00024 bool clear);
00025 }
00026
00027 class Monitor_Impl
00028 : public virtual POA_Monitor::MC
00029 {
00030 public:
00031
00032 Monitor_Impl (CORBA::ORB_ptr orb);
00033
00034 virtual ::Monitor::NameList * get_statistic_names (const char * filter);
00035
00036 virtual ::Monitor::DataList * get_statistics (
00037 const ::Monitor::NameList & names);
00038
00039 virtual ::Monitor::DataList * get_and_clear_statistics (
00040 const ::Monitor::NameList & names);
00041
00042 virtual ::Monitor::NameList * clear_statistics (
00043 const ::Monitor::NameList & names);
00044
00045 virtual ::Monitor::ConstraintStructList * register_constraint (
00046 const ::Monitor::NameList & names,
00047 const char * cs,
00048 ::Monitor::Subscriber_ptr sub);
00049
00050 virtual void unregister_constraints (
00051 const ::Monitor::ConstraintStructList & constraint);
00052
00053 private:
00054
00055
00056
00057 CORBA::ORB_var orb_;
00058 };
00059
00060 TAO_END_VERSIONED_NAMESPACE_DECL
00061
00062 #endif
00063
00064 #include "ace/post.h"
00065
00066 #endif