| 66 | |
| 67 | |
| 68 | GEventObjectPtr GEventManager::setThreadPool(UThreadPoolPtr ptr) { |
| 69 | CGRAPH_ASSERT_NOT_NULL_THROW_ERROR(ptr) |
| 70 | for (auto& iter : events_map_) { |
| 71 | CGRAPH_ASSERT_NOT_NULL_THROW_ERROR(iter.second) |
| 72 | (iter.second)->setThreadPool(ptr); |
| 73 | } |
| 74 | |
| 75 | return this; |
| 76 | } |
| 77 | |
| 78 | |
| 79 | GEventManager::~GEventManager() { |
nothing calls this directly
no outgoing calls
no test coverage detected