Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / Monitor / Monitor_Impl.h
blob59c6bf39eba26085bdd5be8d0693b6b0a33605e3
2 #ifndef TAO_MONITOR_IMPL_H
3 #define TAO_MONITOR_IMPL_H
5 #include /**/ "ace/pre.h"
7 #include "tao/Monitor/MonitorS.h"
9 #if defined (TAO_HAS_MONITOR_FRAMEWORK) && (TAO_HAS_MONITOR_FRAMEWORK == 1)
11 #include "tao/Monitor/Monitor_export.h"
12 #include "ace/Monitor_Base.h"
14 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
16 namespace TAO_Monitor
18 TAO_Monitor_Export void get_monitor_data (
19 ::ACE::Monitor_Control::Monitor_Base *monitor,
20 Monitor::Data& data,
21 bool clear);
24 class Monitor_Impl
25 : public virtual POA_Monitor::MC
27 public:
28 /// Constructor
29 Monitor_Impl (CORBA::ORB_ptr orb);
31 virtual ::Monitor::NameList * get_statistic_names (const char * filter);
33 virtual ::Monitor::DataList * get_statistics (
34 const ::Monitor::NameList & names);
36 virtual ::Monitor::DataList * get_and_clear_statistics (
37 const ::Monitor::NameList & names);
39 virtual ::Monitor::NameList * clear_statistics (
40 const ::Monitor::NameList & names);
42 virtual ::Monitor::ConstraintStructList * register_constraint (
43 const ::Monitor::NameList & names,
44 const char * cs,
45 ::Monitor::Subscriber_ptr sub);
47 virtual void unregister_constraints (
48 const ::Monitor::ConstraintStructList & constraint);
50 private:
51 /// Use an ORB reference to convert strings to objects and shutdown
52 /// the application.
53 CORBA::ORB_var orb_;
56 TAO_END_VERSIONED_NAMESPACE_DECL
58 #endif /* TAO_HAS_MONITOR_FRAMEWORK==1 */
60 #include /**/ "ace/post.h"
62 #endif /* TAO_MONITOR_IMPL_H */