#include <rmSysInfo.h>
Inheritance diagram for subsystemInfo:
Public Methods | |
subsystemInfo (unsigned long aSystemStartupTime) | |
virtual | ~subsystemInfo () |
int | init (resourceInfo *aResourceInfo, statisticInfo *aStatisticInfo) |
virtual int | getUUIDString (RMAttribute aName, unsigned long aID, char *aUUIDStr) |
virtual int | getUUID (RMAttribute aName, unsigned long aID, uuid_t aUUID) |
virtual int | getUnsigned (RMAttribute aName, unsigned long aID, unsigned long &aValue) |
virtual int | getString (RMAttribute aName, unsigned long aID, char *&aBuf) |
virtual unsigned long | getSubsystemIDByUUID (const uuid_t aUUID) |
virtual int | addSubsystemByUUID (const uuid_t aUUID) |
virtual int | removeSubsystemByUUID (const uuid_t aUUID) |
Private Attributes | |
resourceInfo * | mResourceInfo |
statisticInfo * | mStatisticInfo |
This is the object that manages all the subsystem info.
This class implements the IBaseAccessor interface by inheriting from rmBaseArray<SubsystemInfo> template class.
Definition at line 52 of file rmSysInfo.h.
|
Definition at line 55 of file rmSysInfo.h. |
|
Definition at line 56 of file rmSysInfo.h. |
|
Definition at line 190 of file rmSysInfo.cpp. References getSubsystemIDByUUID, SubsystemInfo::info, resourceInfo::initResourceInfoBySubsystemID, mResourceInfo, rmBaseArray< SubsystemInfo >::newElement, RMCLIENT_ERROR_SUBSYSTEM_ID, and RMCLIENT_ERROR_SUBSYSTEM_INFO. Referenced by rmEvent::processSystemEvent. |
|
Reimplemented from rmBaseArray< SubsystemInfo >. Definition at line 136 of file rmSysInfo.cpp. References rmBaseArray< SubsystemInfo >::getConstElement, SubsystemInfo::info, RMAttribute, RMCLIENT_ERROR_NOSUCHNAME, RMCLIENT_ERROR_SUBSYSTEM_INFO, RMCLIENT_ERROR_SUBSYSTEM_STRING, RMCLIENT_SUCCESS, SUBSYSTEMINFO_DESCRIPTION, and SUBSYSTEMINFO_NAME. |
|
Definition at line 169 of file rmSysInfo.cpp. References rmBaseArray< SubsystemInfo >::getConstElement, rmBaseArray< SubsystemInfo >::getNextId, and SubsystemInfo::info. Referenced by resourceInfo::addResource, addSubsystemByUUID, dataCaptureInfo::init, rmMonitor::init, resourceInfo::removeResource, removeSubsystemByUUID, rmEvent::sendResourceEvent, and rmEvent::sendSubSystemEvent. |
|
Reimplemented from rmBaseArray< SubsystemInfo >. Definition at line 111 of file rmSysInfo.cpp. References rmBaseArray< SubsystemInfo >::getConstElement, SubsystemInfo::info, RMAttribute, RMCLIENT_ERROR_NOSUCHNAME, RMCLIENT_ERROR_SUBSYSTEM_INFO, RMCLIENT_SUCCESS, SUBSYSTEMINFO_RESOURCECOUNT, and SUBSYSTEMINFO_STATISTICCOUNT. |
|
Reimplemented from rmBaseArray< SubsystemInfo >. Definition at line 87 of file rmSysInfo.cpp. References rmBaseArray< SubsystemInfo >::getConstElement, SubsystemInfo::info, RMAttribute, RMCLIENT_ERROR_BAD_POINTER, RMCLIENT_ERROR_NOSUCHNAME, RMCLIENT_ERROR_SUBSYSTEM_INFO, RMCLIENT_SUCCESS, and SUBSYSTEMINFO_UUID. Referenced by statisticInfo::getUnsigned, statisticInfo::getUnsigned64, statisticInfo::setInteger32, and rmGenericMonitorConfig::setUnsigned. |
|
Reimplemented from rmBaseArray< SubsystemInfo >. Definition at line 62 of file rmSysInfo.cpp. References rmBaseArray< SubsystemInfo >::getConstElement, SubsystemInfo::info, RMAttribute, RMCLIENT_ERROR_BAD_POINTER, RMCLIENT_ERROR_NOSUCHNAME, RMCLIENT_ERROR_SUBSYSTEM_INFO, RMCLIENT_SUCCESS, and SUBSYSTEMINFO_UUID. |
|
Initializes the subsystem info. This class contains pointers to resourceInfo and statisticInfo also.
Definition at line 24 of file rmSysInfo.cpp. References SubsystemInfo::info, mResourceInfo, mStatisticInfo, rmBaseArray< SubsystemInfo >::newElement, RMCLIENT_ERROR_MEMORY, RMCLIENT_ERROR_SUBSYSTEM_INFO, and RMCLIENT_SUCCESS. Referenced by rmClient::init. |
|
|
Definition at line 73 of file rmSysInfo.h. Referenced by addSubsystemByUUID, init, and removeSubsystemByUUID. |
|
Definition at line 74 of file rmSysInfo.h. Referenced by init, and removeSubsystemByUUID. |