#include <parameter_events_filter.hpp>
◆ EventPair
Used for the listed results.
◆ EventType
Enumerator |
---|
NEW | |
DELETED | |
CHANGED | |
◆ ParameterEventsFilter()
Construct a filtered view of a parameter event.
- Parameters
-
[in] | event | The parameter event message to filter. |
[in] | names | A list of parameter names of interest. |
[in] | types | A list of the types of parameter events of iterest. EventType NEW, DELETED, or CHANGED |
Example Usage:
If you have recieved a parameter event and are only interested in parameters foo and bar being added or changed but don't care about deletion.
event_shared_ptr,
{"foo", "bar"},
◆ get_events()
Get the result of the filter.
- Returns
- A std::vector<EventPair> of all matching parameter changes in this event.
The documentation for this class was generated from the following file: