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

GenericControl Struct Reference

#include <rmControl.h>

List of all members.

Public Attributes

long thresholdControlId
long leakyBucketControlId
rmMonitorControl control
long refCnt
int status


Detailed Description

GenericControl is a new representation of rmMonitorControl. It basically contains a rmMonitorControl plus some other information that will be used to construct GenericControl table.

In specific, rmThresholdControl is seperated from rmMonitorControl. Threshold control will be managed by ThresholdControl. GenericControl references those through thresholdControlId.

Member refCnt tells how many times this entry is being used by other entities, such as a monitor. Different from GenericConfig, a GenericControl can only be used to create one monitors. This is because rmMonitorControl contains some monitor specific information, such as monitorUUID. A GenericConfig can only be modified when (refCnt == 0). Once it is referenced by a monitor, it is read-only.

Member status tells if the config entry is ready to be used by other entities or not. Only those with "ACTIVE" status can be used to create monitors.

Definition at line 31 of file rmControl.h.


Member Data Documentation

rmMonitorControl GenericControl::control
 

Definition at line 35 of file rmControl.h.

Referenced by rmGenericMonitorControl::elementIsReady, rmMonitor::getInteger32, rmGenericMonitorControl::getInteger32, rmGenericMonitorControl::getUnsigned, rmGenericMonitorControl::getUUID, rmGenericMonitorControl::getUUIDString, rmMonitor::init, rmMonitor::setInteger32, rmGenericMonitorControl::setInteger32, rmMonitor::setUnsigned, rmGenericMonitorControl::setUnsigned, and rmGenericMonitorControl::setUUIDString.

long GenericControl::leakyBucketControlId
 

Definition at line 34 of file rmControl.h.

Referenced by rmGenericMonitorControl::elementIsReady, rmGenericMonitorControl::getUnsigned, rmMonitor::init, and rmGenericMonitorControl::setUnsigned.

long GenericControl::refCnt
 

Definition at line 36 of file rmControl.h.

Referenced by rmGenericMonitorControl::getInteger32, rmGenericMonitorControl::setInteger32, rmMonitor::setUnsigned, rmGenericMonitorControl::setUnsigned, and rmGenericMonitorControl::setUUIDString.

int GenericControl::status
 

Definition at line 37 of file rmControl.h.

Referenced by rmGenericMonitorControl::getInteger32, rmMonitor::init, and rmMonitor::setUnsigned.

long GenericControl::thresholdControlId
 

Definition at line 33 of file rmControl.h.

Referenced by rmGenericMonitorControl::elementIsReady, rmGenericMonitorControl::getUnsigned, rmMonitor::init, and rmGenericMonitorControl::setUnsigned.


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