| 88 | } |
| 89 | |
| 90 | const char * SystemMonitorsImpl::getMonitorName(size_t index) const |
| 91 | { |
| 92 | if (index >= m_monitors.size()) |
| 93 | { |
| 94 | std::ostringstream oss; |
| 95 | oss << "Invalid index for the monitor name " << index |
| 96 | << " where the number of monitors is " << m_monitors.size() << "."; |
| 97 | throw Exception(oss.str().c_str()); |
| 98 | } |
| 99 | |
| 100 | return m_monitors[index].m_monitorName.c_str(); |
| 101 | } |
| 102 | |
| 103 | const char * SystemMonitorsImpl::getProfileFilepath(size_t index) const |
| 104 | { |