#include <rmMonitor.h>
Inheritance diagram for rmMonitor:
Public Methods | |
rmMonitor (unsigned long aSystemStartupTime, subsystemInfo *aSubsystemInfo, rmGenericMonitorConfig *aGenericConfig, rmThresholdMonitorConfig *aThresholdConfig, rmWatermarkMonitorConfig *aWatermarkConfig, rmLeakyBucketMonitorConfig *aLeakyBucketConfig, rmGenericMonitorControl *aGenericControl, rmThresholdMonitorControl *aThresholdControl, rmLeakyBucketMonitorControl *aLeakyBucketControl) | |
virtual | ~rmMonitor () |
virtual int | init () |
Initializes the monitor table. More... | |
virtual int | removeElement (unsigned long aID) |
Remove an entry from the table. More... | |
virtual bool | elementIsReady (const Monitor &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) |
virtual int | getUnsigned64 (RMAttribute aName, unsigned long aID, u_int64_t &aValue) |
virtual int | getUUIDString (RMAttribute aName, unsigned long aID, char *aUUIDStr) |
virtual int | getUUID (RMAttribute aName, unsigned long aID, uuid_t aUUID) |
Private Attributes | |
subsystemInfo * | mSubsystemInfo |
rmGenericMonitorConfig * | mGenericConfig |
rmThresholdMonitorConfig * | mThresholdConfig |
rmWatermarkMonitorConfig * | mWatermarkConfig |
rmLeakyBucketMonitorConfig * | mLeakyBucketConfig |
rmGenericMonitorControl * | mGenericControl |
rmThresholdMonitorControl * | mThresholdControl |
rmLeakyBucketMonitorControl * | mLeakyBucketControl |
Definition at line 45 of file rmMonitor.h.
|
Definition at line 48 of file rmMonitor.h. References mGenericConfig, mGenericControl, mLeakyBucketConfig, mLeakyBucketControl, mSubsystemInfo, mThresholdConfig, mThresholdControl, and mWatermarkConfig. |
|
Definition at line 67 of file rmMonitor.h. |
|
Reimplemented from rmBaseArray< Monitor >. Definition at line 261 of file rmMonitor.cpp. References Monitor::configId, and Monitor::controlId. |
|
|
|
Reimplemented from rmBaseArray< Monitor >. Definition at line 704 of file rmMonitor.cpp. References rmBaseArray< Monitor >::getConstElement, MONITOR_LASTVALUE64, MONITOR_LEAKYBUCKETLEVEL64, MONITOR_WATERMARKHIGH64, MONITOR_WATERMARKLOW64, RMAttribute, RMCLIENT_ERROR_ACCESS_MONITOR, RMCLIENT_ERROR_MONITOR, RMCLIENT_ERROR_MONITOR_STATE, RMCLIENT_ERROR_NOSUCHNAME, RMCLIENT_SUCCESS, and Monitor::uuid. |
|
Reimplemented from rmBaseArray< Monitor >. Definition at line 808 of file rmMonitor.cpp. References GenericConfig::config, Monitor::configId, rmBaseArray< GenericConfig >::getConstElement, rmBaseArray< Monitor >::getConstElement, mGenericConfig, MONITOR_SUBSYSTEMUUID, MONITOR_UUID, RMAttribute, RMCLIENT_ERROR_BAD_POINTER, RMCLIENT_ERROR_MONITOR, RMCLIENT_ERROR_MONITOR_CONFIG, RMCLIENT_ERROR_NOSUCHNAME, RMCLIENT_ERROR_NOSUCHVALUE, RMCLIENT_SUCCESS, and Monitor::uuid. |
|
Reimplemented from rmBaseArray< Monitor >. Definition at line 765 of file rmMonitor.cpp. References GenericConfig::config, Monitor::configId, rmBaseArray< GenericConfig >::getConstElement, rmBaseArray< Monitor >::getConstElement, mGenericConfig, MONITOR_SUBSYSTEMUUID, MONITOR_UUID, RMAttribute, RMCLIENT_ERROR_BAD_POINTER, RMCLIENT_ERROR_MONITOR, RMCLIENT_ERROR_MONITOR_CONFIG, RMCLIENT_ERROR_NOSUCHNAME, RMCLIENT_ERROR_NOSUCHVALUE, RMCLIENT_SUCCESS, and Monitor::uuid. |
|
|
Remove an entry from the table. Remove a monitor, also decrement the refCnt of the GenericConfig and GenericControl info this monitor is currently referencing.
Reimplemented from rmBaseArray< Monitor >. Definition at line 20 of file rmMonitor.cpp. References DELETE_MONITOR, rmBaseArray< Monitor >::mElementArray, mGenericConfig, mGenericControl, rmBaseArray< Monitor >::mMaxId, rmRefArray< GenericConfig >::release, rmRefArray< GenericControl >::release, RMCLIENT_ERROR_BASE_ID, RMCLIENT_ERROR_MONITOR_COMMAND, and RMCLIENT_SUCCESS. Referenced by setInteger32. |
|
|
|
Definition at line 92 of file rmMonitor.h. Referenced by getUnsigned, getUUID, getUUIDString, init, removeElement, rmMonitor, setInteger32, and setUnsigned. |
|
Definition at line 96 of file rmMonitor.h. Referenced by getInteger32, init, removeElement, rmMonitor, setInteger32, and setUnsigned. |
|
Definition at line 95 of file rmMonitor.h. |
|
Definition at line 98 of file rmMonitor.h. |
|
Definition at line 91 of file rmMonitor.h. |
|
Definition at line 93 of file rmMonitor.h. |
|
Definition at line 97 of file rmMonitor.h. |
|
Definition at line 94 of file rmMonitor.h. |