MCPcopy Create free account
hub / github.com/ChunelFeng/CGraph / setThreadPool

Method setThreadPool

src/GraphCtrl/GraphEvent/GEventManager.cpp:68–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66
67
68GEventObjectPtr 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
79GEventManager::~GEventManager() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected