Diagnostics of performance of a filter chain.
More...
#include <filter_chain_nodelet.hpp>
|
const ::cras::FilterChain< F > & | chain |
| The diagnosed chain. More...
|
|
::std::mutex | mutex |
| Mutex protecting numCallbacks, numSuccesses and numFailures. More...
|
|
::std::unordered_map<::std::string, size_t > | numCallbacks |
| The overall number of callbacks since last update. More...
|
|
::std::unordered_map<::std::string, size_t > | numFailures |
| The number of failed filter runs since last update. More...
|
|
::std::unordered_map<::std::string, size_t > | numSuccesses |
| The number of successful filter runs since last update. More...
|
|
template<typename F>
class cras::FilterChainDiagnostics< F >
Diagnostics of performance of a filter chain.
- Template Parameters
-
Definition at line 44 of file filter_utils/filter_chain_nodelet.hpp.
◆ FilterChainDiagnostics()
- Parameters
-
[in] | name | Name of the diagnostic task. |
[in] | chain | The diagnosed chain. |
◆ addReport()
Call this function every time a filter finished callback is called.
- Parameters
-
[in] | filterName | Name of the filter. |
[in] | success | Whether the filter has succeeded. |
◆ run()
◆ chain
◆ mutex
◆ numCallbacks
◆ numFailures
◆ numSuccesses
The documentation for this class was generated from the following file: