Validates the pipeline. A pipeline is valid if all its elements are considered valid. When the pipeline is invalid, an InvalidPipelineException is thrown. @param p_pPluginProvider Optional plugin provider that can be used during validation. @param p_rsSeenPluginIds Set that should be used to store seen plugin IDs. Any collision means a loop is detected and pipeline should be considered invalid.
| 210 | // pipeline should be considered invalid. |
| 211 | // |
| 212 | void Pipeline::Validate(const PluginProvider* const p_pPluginProvider, |
| 213 | GUIDS& p_rsSeenPluginIds) const |
| 214 | { |
| 215 | for (const auto& spElement : m_vspElements) { |
| 216 | spElement->Validate(p_pPluginProvider, p_rsSeenPluginIds); |
| 217 | } |
| 218 | } |
| 219 | |
| 220 | |
| 221 | // |