#include <rmConfig.h>
Inheritance diagram for rmGenericMonitorConfig:
Public Methods | |
rmGenericMonitorConfig (subsystemInfo *aSubsystemInfo, rmThresholdMonitorConfig *aThresholdConfig, rmWatermarkMonitorConfig *aWatermarkConfig, rmLeakyBucketMonitorConfig *aleakyBucketConfig) | |
virtual | ~rmGenericMonitorConfig () |
virtual int | removeElement (unsigned long aID) |
Remove an entry from the table. More... | |
virtual bool | elementIsReady (const GenericConfig &aElement) const |
virtual int | getInteger32 (RMAttribute aName, unsigned long aID, long &aValue) |
virtual int | setInteger32 (RMAttribute aName, unsigned long aID, long aValue) |
virtual int | getUnsigned (RMAttribute aName, unsigned long aID, unsigned long &aValue) |
virtual int | setUnsigned (RMAttribute aName, unsigned long aID, unsigned long aValue) |
Private Attributes | |
subsystemInfo * | mSubsystemInfo |
rmThresholdMonitorConfig * | mThresholdConfig |
rmWatermarkMonitorConfig * | mWatermarkConfig |
rmLeakyBucketMonitorConfig * | mLeakyBucketConfig |
|
Definition at line 124 of file rmConfig.h. References mLeakyBucketConfig, mSubsystemInfo, mThresholdConfig, and mWatermarkConfig. |
|
Definition at line 133 of file rmConfig.h. |
|
This is to test if a genericConfig entry is ready to be made active or not. only active genericConfig can be used to create monitors.
Reimplemented from rmBaseArray< GenericConfig >. Definition at line 60 of file rmConfig.cpp. References GenericConfig::config, GenericConfig::leakyBucketConfigId, GenericConfig::subsystemId, GenericConfig::thresholdConfigId, and GenericConfig::watermarkConfigId. |
|
Get the attribute value which type is an int32. If succedded, aValue will be set.
Reimplemented from rmBaseArray< GenericConfig >. Definition at line 105 of file rmConfig.cpp. References GenericConfig::config, GENERICCONFIG_MONITORTYPE, GENERICCONFIG_REFCOUNT, GENERICCONFIG_STATISTICTRANSFORM, GENERICCONFIG_STATUS, rmBaseArray< GenericConfig >::getConstElement, GenericConfig::refCnt, RMAttribute, RMCLIENT_ERROR_GENERIC_CONFIG, RMCLIENT_ERROR_NOSUCHNAME, RMCLIENT_SUCCESS, and GenericConfig::status. |
|
|
Remove an entry from the table. To remove a GenericConfig entry, we have to decrement the refCnt of the ThresholdConfig or WatermarkConfig entry that this GenericConfig is currently associated with.
Reimplemented from rmRefArray< GenericConfig >. Definition at line 21 of file rmConfig.cpp. References rmBaseArray< GenericConfig >::findId, rmBaseArray< GenericConfig >::mElementArray, mLeakyBucketConfig, mThresholdConfig, mWatermarkConfig, rmRefArray< LeakyBucketConfig >::release, rmRefArray< WatermarkConfig >::release, rmRefArray< ThresholdConfig >::release, rmRefArray::removeElement, and RMCLIENT_SUCCESS. |
|
|
|
Definition at line 150 of file rmConfig.h. Referenced by removeElement, rmGenericMonitorConfig, and setUnsigned. |
|
Definition at line 147 of file rmConfig.h. Referenced by rmGenericMonitorConfig, and setUnsigned. |
|
Definition at line 148 of file rmConfig.h. Referenced by removeElement, rmGenericMonitorConfig, and setUnsigned. |
|
Definition at line 149 of file rmConfig.h. Referenced by removeElement, rmGenericMonitorConfig, and setUnsigned. |