#include <rmControl.h>
Public Attributes | |
long | thresholdControlId |
long | leakyBucketControlId |
rmMonitorControl | control |
long | refCnt |
int | status |
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.
|
|
Definition at line 34 of file rmControl.h. Referenced by rmGenericMonitorControl::elementIsReady, rmGenericMonitorControl::getUnsigned, rmMonitor::init, and rmGenericMonitorControl::setUnsigned. |
|
Definition at line 36 of file rmControl.h. Referenced by rmGenericMonitorControl::getInteger32, rmGenericMonitorControl::setInteger32, rmMonitor::setUnsigned, rmGenericMonitorControl::setUnsigned, and rmGenericMonitorControl::setUUIDString. |
|
Definition at line 37 of file rmControl.h. Referenced by rmGenericMonitorControl::getInteger32, rmMonitor::init, and rmMonitor::setUnsigned. |
|
Definition at line 33 of file rmControl.h. Referenced by rmGenericMonitorControl::elementIsReady, rmGenericMonitorControl::getUnsigned, rmMonitor::init, and rmGenericMonitorControl::setUnsigned. |