| 2191 | } |
| 2192 | |
| 2193 | std::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 |
nothing calls this directly
no outgoing calls
no test coverage detected