Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef MONITOR_QUERY_H
00014 #define MONITOR_QUERY_H
00015
00016 #include "ace/pre.h"
00017
00018 #include "ace/Event_Handler.h"
00019
00020 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00021 #pragma once
00022 #endif
00023
00024 #if defined (ACE_HAS_MONITOR_FRAMEWORK) && (ACE_HAS_MONITOR_FRAMEWORK == 1)
00025
00026 #include "ace/Monitor_Control/Monitor_Control_export.h"
00027
00028 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00029
00030 namespace ACE
00031 {
00032 namespace Monitor_Control
00033 {
00034
00035
00036
00037
00038
00039
00040 class MONITOR_CONTROL_Export Monitor_Point_Auto_Query
00041 : public ACE_Event_Handler
00042 {
00043 public:
00044
00045 virtual int handle_timeout (const ACE_Time_Value& current,
00046 const void* monitor_query);
00047 };
00048
00049
00050
00051
00052
00053
00054
00055
00056 class MONITOR_CONTROL_Export Monitor_Query
00057 {
00058 public:
00059 Monitor_Query (const char* monitor_name);
00060
00061 void query (void);
00062
00063 private:
00064 Monitor_Base* monitor_;
00065 };
00066 }
00067 }
00068
00069 ACE_END_VERSIONED_NAMESPACE_DECL
00070
00071 #endif
00072
00073 #include "ace/post.h"
00074
00075 #endif // MONITOR_QUERY_H