| 265 | } |
| 266 | |
| 267 | std::array<handler_t,EventManager::EventType::EVENT_MAX> compileEventHandlerArray() { |
| 268 | std::array<handler_t, EventManager::EventType::EVENT_MAX> managers{}; |
| 269 | auto t = (EventManager::EventType::EventType) 0; |
| 270 | while (t < EventManager::EventType::EVENT_MAX) { |
| 271 | managers[t] = getManager(t); |
| 272 | t = (EventManager::EventType::EventType) int(t + 1); |
| 273 | } |
| 274 | return managers; |
| 275 | } |
| 276 | static std::array<handler_t,EventManager::EventType::EVENT_MAX> eventHandlers; |
| 277 | |
| 278 | static void enableEvent(int evType,int freq) |
no test coverage detected