Public Member Functions | Private Attributes | List of all members
can::FrameRangeFilter Class Reference

#include <filter.h>

Inheritance diagram for can::FrameRangeFilter:
Inheritance graph

Public Member Functions

 FrameRangeFilter (uint32_t min_id, uint32_t max_id, bool invert=false)
virtual bool pass (const can::Frame &frame) const
- Public Member Functions inherited from can::FrameFilter
virtual ~FrameFilter ()

Private Attributes

const bool invert_
const uint32_t max_id_
const uint32_t min_id_

Detailed Description

Definition at line 34 of file filter.h.

Constructor & Destructor Documentation

◆ FrameRangeFilter()

can::FrameRangeFilter::FrameRangeFilter ( uint32_t  min_id,
uint32_t  max_id,
bool  invert = false 

Definition at line 36 of file filter.h.

Member Function Documentation

◆ pass()

virtual bool can::FrameRangeFilter::pass ( const can::Frame frame) const

Implements can::FrameFilter.

Definition at line 39 of file filter.h.

Member Data Documentation

◆ invert_

const bool can::FrameRangeFilter::invert_

Definition at line 46 of file filter.h.

◆ max_id_

const uint32_t can::FrameRangeFilter::max_id_

Definition at line 45 of file filter.h.

◆ min_id_

const uint32_t can::FrameRangeFilter::min_id_

Definition at line 44 of file filter.h.

The documentation for this class was generated from the following file:

Author(s): Mathias L├╝dtke
autogenerated on Tue May 4 2021 02:50:18