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

eventQuery Class Reference

#include <eventQuery.h>

Inheritance diagram for eventQuery:

rmRefArray< EventQuery > rmStatusArray< EventQuery > rmBaseArray< EventQuery > IBaseAccessor List of all members.

Public Methods

 eventQuery ()
virtual ~eventQuery ()
virtual int removeElement (unsigned long aID)
virtual bool elementIsReady (const EventQuery &aQuery) const
virtual int getInteger32 (RMAttribute aName, unsigned long aID, long &aValue)
virtual int setInteger32 (RMAttribute aName, unsigned long aID, long aValue)
virtual int getString (RMAttribute aName, unsigned long aID, char *&aBuf)
virtual int setString (RMAttribute aName, unsigned long aID, char *aBuf)
virtual int addDefaultElement (unsigned long aID)

Detailed Description

eventQuery is the class manages all the query objects.

Definition at line 38 of file eventQuery.h.


Constructor & Destructor Documentation

eventQuery::eventQuery   [inline]
 

Definition at line 41 of file eventQuery.h.

virtual eventQuery::~eventQuery   [inline, virtual]
 

Definition at line 42 of file eventQuery.h.


Member Function Documentation

int eventQuery::addDefaultElement unsigned long    aID [virtual]
 

Reimplemented from rmStatusArray< EventQuery >.

Definition at line 230 of file eventQuery.cpp.

References rmRefArray< EventQuery >::addElement, NOTREADY, EventQuery::purpose, EventQuery::refCnt, and EventQuery::status.

bool eventQuery::elementIsReady const EventQuery   aQuery const [virtual]
 

Reimplemented from rmBaseArray< EventQuery >.

Definition at line 26 of file eventQuery.cpp.

References EventQuery::purpose, PURPOSE_GENERAL, PURPOSE_NOTIFY, and EventQuery::qstr.

int eventQuery::getInteger32 RMAttribute    aName,
unsigned long    aID,
long &    aValue
[virtual]
 

Reimplemented from rmBaseArray< EventQuery >.

Definition at line 38 of file eventQuery.cpp.

References EVENTQUERY_PURPOSE, EVENTQUERY_REFCOUNT, EVENTQUERY_STATUS, rmBaseArray< EventQuery >::getConstElement, EventQuery::purpose, EventQuery::refCnt, RMAttribute, RMCLIENT_ERROR_NOSUCHNAME, RMCLIENT_ERROR_QUERY, RMCLIENT_SUCCESS, and EventQuery::status.

int eventQuery::getString RMAttribute    aName,
unsigned long    aID,
char *&    aBuf
[virtual]
 

Reimplemented from rmBaseArray< EventQuery >.

Definition at line 150 of file eventQuery.cpp.

References ACTIVE, EVENTQUERY_STRING, rmBaseArray< EventQuery >::getConstElement, EventQuery::qstr, EventQuery::query, RMAttribute, RMCLIENT_ERROR_MEMORY, RMCLIENT_ERROR_NOSUCHNAME, RMCLIENT_ERROR_QUERY, RMCLIENT_ERROR_QUERY_STRING, RMCLIENT_SUCCESS, and EventQuery::status.

int eventQuery::removeElement unsigned long    aID [virtual]
 

Reimplemented from rmRefArray< EventQuery >.

Definition at line 5 of file eventQuery.cpp.

References ACTIVE, rmBaseArray< EventQuery >::getElement, EventQuery::query, EventQuery::refCnt, rmRefArray::removeElement, RMCLIENT_ERROR_CC_REFCNT, RMCLIENT_ERROR_QUERY, RMCLIENT_ERROR_QUERY_DESTROY, and EventQuery::status.

int eventQuery::setInteger32 RMAttribute    aName,
unsigned long    aID,
long    aValue
[virtual]
 

Reimplemented from rmBaseArray< EventQuery >.

Definition at line 66 of file eventQuery.cpp.

References ACTIVE, DESTROY, EVENTQUERY_PURPOSE, EVENTQUERY_STATUS, rmBaseArray< EventQuery >::getElement, NOTINSERVICE, NOTREADY, EventQuery::purpose, PURPOSE_GENERAL, PURPOSE_NOTIFY, PURPOSE_SEEK, EventQuery::qstr, EventQuery::query, EventQuery::refCnt, RMAttribute, RMCLIENT_ERROR_CC_REFCNT, RMCLIENT_ERROR_NOSUCHNAME, RMCLIENT_ERROR_NOSUCHVALUE, RMCLIENT_ERROR_QUERY, RMCLIENT_ERROR_QUERY_CREATE, RMCLIENT_ERROR_QUERY_DESTROY, RMCLIENT_ERROR_STATE, RMCLIENT_SUCCESS, EventQuery::status, and rmStatusArray< EventQuery >::updateStatus.

int eventQuery::setString RMAttribute    aName,
unsigned long    aID,
char *    aBuf
[virtual]
 

Reimplemented from rmBaseArray< EventQuery >.

Definition at line 201 of file eventQuery.cpp.

References ACTIVE, EVENTQUERY_STRING, rmBaseArray< EventQuery >::getElement, EventQuery::qstr, EventQuery::refCnt, RMAttribute, RMCLIENT_ERROR_CC_REFCNT, RMCLIENT_ERROR_NOSUCHNAME, RMCLIENT_ERROR_QUERY, RMCLIENT_ERROR_STATE, RMCLIENT_SUCCESS, EventQuery::status, and rmStatusArray< EventQuery >::updateStatus.


The documentation for this class was generated from the following files:
Generated on Tue Sep 10 16:46:34 2002 for ResourceMonitorSNMPSubagent by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002