Commits

Anonymous committed 75af8f1

AthenaKernel/IGMASvc.h
Abstract interface for the GMASvc (GRID Monitoring Architecture).

David Quarrie

Comments (0)

Files changed (1)

AthenaKernel/IGMASvc.h

+#ifndef ATHENAKERNEL_IGMASVC_H
+#define ATHENAKERNEL_IGMASVC_H
+
+// Include Files
+#include "GaudiKernel/IInterface.h"
+#include "GaudiKernel/StatusCode.h"
+#include <string>
+
+// Declaration of the interface ID ( interface id, major version, minor version)
+static const InterfaceID IID_IGMASvc("IGMASvc", 1, 0);
+
+/** @class IGMASvc IGMASvc.h AthenaKernel/IGMASvc.h
+
+The interface implemented by the GMASvc service.
+
+@author David Quarrie
+*/
+class IGMASvc : virtual public IInterface {
+public:
+
+    /// Retrieve interface ID
+    static const InterfaceID& interfaceID() { return IID_IGMASvc; }
+
+	virtual StatusCode report( unsigned int level, const char* eventName, const char* eventData=0 ) = 0;
+    virtual StatusCode report( unsigned int level, const std::string& eventName ) = 0;
+    virtual StatusCode report( unsigned int level, const std::string& eventData, const std::string& eventData ) = 0;
+
+};
+
+#endif // ATHENAKERNEL_IGMASVC_H
+
+
+