Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

eventQuery.h

Go to the documentation of this file.
00001 #ifndef __eventQuery_h__
00002 #define __eventQuery_h__
00003 
00004 #include <string>
00005 #include "rmRefArray.h"
00006 #include <posix_evlog.h>
00007 
00022 struct EventQuery
00023 {
00024   string qstr;
00025   int purpose;
00026 
00027   long refCnt; 
00028   int status;
00029 
00030   posix_log_query_t query;
00031 };
00032 
00038 class eventQuery : public rmRefArray<EventQuery>
00039 {
00040   public: 
00041     eventQuery(){}
00042     virtual ~eventQuery(){}
00043 
00044     virtual int removeElement(unsigned long aID);
00045 
00046     virtual bool elementIsReady(const EventQuery & aQuery) const;
00047 
00048     virtual int getInteger32(RMAttribute aName, unsigned long aID, long & aValue);
00049     virtual int setInteger32(RMAttribute aName, unsigned long aID, long aValue);
00050 
00051     virtual int getString(RMAttribute aName, unsigned long aID, char * & aBuf);
00052     virtual int setString(RMAttribute aName, unsigned long aID, char * aBuf);
00053 
00054     virtual int addDefaultElement(unsigned long aID);
00055 
00056   private:
00057 };
00058 
00059 #endif // __eventQuery_h__

Generated on Tue Sep 10 16:46:32 2002 for ResourceMonitorSNMPSubagent by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002