MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / GetEventManager

Method GetEventManager

src/plugin/kernel/src/AFCKernelModule.cpp:2193–2207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2191}
2192
2193std::shared_ptr<AFIEventManager> AFCKernelModule::GetEventManager(std::shared_ptr<AFIEntity> pEntity) const
2194{
2195 if (pEntity == nullptr)
2196 {
2197 return nullptr;
2198 }
2199
2200 auto pCEnity = std::dynamic_pointer_cast<AFCEntity>(pEntity);
2201 if (pCEnity == nullptr)
2202 {
2203 return nullptr;
2204 }
2205
2206 return pCEnity->GetEventManager();
2207}
2208
2209} // namespace ark

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected