A message filter is an abstract base for classes that determine if a specified envelope matches specified criteria.
More...
#include <message_filter.h>
Inherits node.
|
| template<typename Filter , typename Item > |
| bool | passes_filter (Item const &, Filter const &) |
| | Returns true if a specified filter passes a specified item. More...
|
| |
A message filter is an abstract base for classes that determine if a specified envelope matches specified criteria.
A message filter filters messages delivered to its parent nodes.
- See also
- passes_filter()
Object Diagram
◆ static_get_class()
[auto-generated] Returns this class's meta-class node.
- Returns
- This class's meta-class node.
◆ static_get_class_id()
[auto-generated] Returns this class's ID.
- Returns
- This class's ID.
◆ passes_filter
template<typename Filter , typename Item >
| bool passes_filter |
( |
Item const & |
item, |
|
|
Filter const & |
h_filter |
|
) |
| |
|
friend |
Returns true if a specified filter passes a specified item.
- Template Parameters
-
| Filter | A filter handle class. The compiler will deduce this parameter from the h_filter argument. THerefore it need not be specified. |
| Item | Class of handle to item being tested. The compiler will deduce this parameter from the h_item argument. THerefore it need not be specified. |
- Parameters
-
| item | Handle of type Item. |
| h_filter | Handle of type Filter. It may be nullptr. |
- Returns
true if h_filter is nullptr or passes item.
The documentation for this struct was generated from the following file:
- c:/cppgraph/lib/cppgraph/graph/filters/message_filter.h