Class ParameterEventsFilter
Defined in File parameter_events_filter.hpp
Class Documentation
-
class ParameterEventsFilter
Public Types
Public Functions
Construct a filtered view of a parameter event.
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.
auto res = rclcpp::ParameterEventsFilter( event_shared_ptr, {"foo", "bar"}, {rclcpp::ParameterEventsFilter::EventType::NEW, rclcpp::ParameterEventsFilter::EventType::CHANGED});
- Parameters:
event – [in] The parameter event message to filter.
names – [in] A list of parameter names of interest.
types – [in] A list of the types of parameter events of iterest. EventType NEW, DELETED, or CHANGED