| 72 | |
| 73 | template <typename ReportType> |
| 74 | void triggerCallbacks(util::time::TimeValue const ×tamp, |
| 75 | ReportType const &report) const { |
| 76 | for (auto const &f : |
| 77 | boost::fusion::at_key<ReportType>(m_callbacks)) { |
| 78 | f(×tamp, &report); |
| 79 | } |
| 80 | /// @todo do we fail silently or throw exception if we are asked for |
| 81 | /// state we don't have? |
| 82 | } |
| 83 | |
| 84 | private: |
| 85 | CallbackMap m_callbacks; |
no outgoing calls
no test coverage detected