Inheritance diagram for rmClient:
Public Methods | |
rmClient () | |
virtual | ~rmClient () |
virtual int | init () |
virtual void | shutdown () |
virtual void | addEvent (posix_log_recid_t aRecid, unsigned long aMonid) |
add event for a subagent. More... | |
virtual void | processEvents () |
process all the events. More... | |
Protected Methods | |
virtual IBaseAccessor * | getEntity (RMEntity aEntity) |
Private Attributes | |
subsystemInfo * | mSubsystemInfo |
resourceInfo * | mResourceInfo |
statisticInfo * | mStatisticInfo |
dataCaptureInfo * | mDataCaptureInfo |
rmThresholdMonitorConfig * | mThresholdConfig |
rmWatermarkMonitorConfig * | mWatermarkConfig |
rmLeakyBucketMonitorConfig * | mLeakyBucketConfig |
rmGenericMonitorConfig * | mGenericConfig |
rmThresholdMonitorControl * | mThresholdControl |
rmLeakyBucketMonitorControl * | mLeakyBucketControl |
rmGenericMonitorControl * | mGenericControl |
rmMonitor * | mMonitor |
rmEvent * | mEvent |
eventLog * | mEventLog |
Definition at line 104 of file rmClient.cpp.
|
Definition at line 107 of file rmClient.cpp. |
|
Definition at line 579 of file rmClient.cpp. References shutdown. |
|
add event for a subagent.
Implements subagentBase. Definition at line 113 of file rmClient.cpp. References rmEvent::addEvent, and mEvent. |
|
get the object that implements the aEntity. Because all objects implement the IBaseAccessor interface, we can switch based on the entiry number, and always return a pointer to that interface. This function simplifies the delegation functions implemented in subagentBase functions. Implements subagentBase. Definition at line 737 of file rmClient.cpp. References DATACAPTUREPLUGININFO, EVENTLOG, GENERICCONFIG, GENERICCONTROL, LEAKYBUCKETCONFIG, LEAKYBUCKETCONTROL, mDataCaptureInfo, mEventLog, mGenericConfig, mGenericControl, mLeakyBucketConfig, mLeakyBucketControl, mMonitor, MONITOR, mResourceInfo, mStatisticInfo, mSubsystemInfo, mThresholdConfig, mThresholdControl, mWatermarkConfig, RESORUCEINFO, RMEntity, STATISTICINFO, SUBSYSTEMINFO, THRESHOLDCONFIG, THRESHOLDCONTROL, and WATERMARKCONFIG. |
|
Initializes the ResourceMonitor Subagent. This is the global factory method that creats the objects that are needed to run the subagent, includeing subsystems, configurations, controls, and monitors. Implements subagentBase. Definition at line 594 of file rmClient.cpp. References eventLog::init, rmEvent::init, rmMonitor::init, rmBaseArray< GenericControl >::init, rmBaseArray< LeakyBucketControl >::init, rmBaseArray< ThresholdControl >::init, rmBaseArray< GenericConfig >::init, rmBaseArray< LeakyBucketConfig >::init, rmBaseArray< WatermarkConfig >::init, rmBaseArray< ThresholdConfig >::init, dataCaptureInfo::init, statisticInfo::init, resourceInfo::init, subsystemInfo::init, mDataCaptureInfo, mEvent, mEventLog, mGenericConfig, mGenericControl, mLeakyBucketConfig, mLeakyBucketControl, mMonitor, mResourceInfo, mStatisticInfo, mSubsystemInfo, mThresholdConfig, mThresholdControl, mWatermarkConfig, RMCLIENT_ERROR_MEMORY, RMCLIENT_SUCCESS, and shutdown. |
|
process all the events.
Implements subagentBase. Definition at line 118 of file rmClient.cpp. References mEvent, and rmEvent::processEvents. |
|
Shut down the ResourceMonitor subagent. Shut down the ResourceMonitor subagent by delete all the objects and free up the memory. Implements subagentBase. Definition at line 708 of file rmClient.cpp. References mDataCaptureInfo, mEvent, mEventLog, mGenericConfig, mGenericControl, mLeakyBucketConfig, mLeakyBucketControl, mMonitor, mResourceInfo, mStatisticInfo, mSubsystemInfo, mThresholdConfig, mThresholdControl, and mWatermarkConfig. |
|
Definition at line 130 of file rmClient.cpp. |
|
Definition at line 139 of file rmClient.cpp. Referenced by addEvent, init, processEvents, and shutdown. |
|
Definition at line 140 of file rmClient.cpp. |
|
Definition at line 134 of file rmClient.cpp. |
|
Definition at line 137 of file rmClient.cpp. |
|
Definition at line 133 of file rmClient.cpp. |
|
Definition at line 136 of file rmClient.cpp. |
|
Definition at line 138 of file rmClient.cpp. |
|
Definition at line 128 of file rmClient.cpp. |
|
Definition at line 129 of file rmClient.cpp. |
|
Definition at line 127 of file rmClient.cpp. |
|
Definition at line 131 of file rmClient.cpp. |
|
Definition at line 135 of file rmClient.cpp. |
|
Definition at line 132 of file rmClient.cpp. |