summaryrefslogtreecommitdiff
path: root/Monitor/Central_Monitor/Monitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'Monitor/Central_Monitor/Monitor.h')
-rw-r--r--Monitor/Central_Monitor/Monitor.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/Monitor/Central_Monitor/Monitor.h b/Monitor/Central_Monitor/Monitor.h
new file mode 100644
index 00000000000..f9e9d8e3cfd
--- /dev/null
+++ b/Monitor/Central_Monitor/Monitor.h
@@ -0,0 +1,35 @@
+#ifndef MONITOR_H
+#define MONITOR_H
+
+#include "MonitorS.h"
+#include "ace/Map_Manager.h"
+#include "ace/SString.h"
+
+namespace CIAO
+{
+ namespace RACE
+ {
+
+ /// Implement the CIAO::RACE::Monitor interface
+ class Monitor_i : public virtual POA_CIAO::RACE::Monitor
+ {
+ public:
+ /// Constructor
+ Monitor_i ();
+
+ ~Monitor_i ();
+ // = The skel eton methods
+ virtual void push_delays (const char * id,
+ const Delays & delay)
+ throw (CORBA::SystemException);
+
+ virtual Delays * get_delays (const char * id)
+ throw (::CORBA::SystemException, ::CIAO::RACE::Monitor::IdNotFound);
+
+ private:
+ ACE_Map_Manager <ACE_TString, Delays, ACE_Thread_Mutex> delay_map_;
+ };
+ }
+}
+
+#endif /* MONITOR_H */