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

#include <filter.h>

Inheritance diagram for can::FrameRangeFilter:
Inheritance graph
[legend]

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 
)
inline

Definition at line 36 of file filter.h.

Member Function Documentation

◆ pass()

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

Implements can::FrameFilter.

Definition at line 39 of file filter.h.

Member Data Documentation

◆ invert_

const bool can::FrameRangeFilter::invert_
private

Definition at line 46 of file filter.h.

◆ max_id_

const uint32_t can::FrameRangeFilter::max_id_
private

Definition at line 45 of file filter.h.

◆ min_id_

const uint32_t can::FrameRangeFilter::min_id_
private

Definition at line 44 of file filter.h.


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


socketcan_interface
Author(s): Mathias Lüdtke
autogenerated on Wed Mar 2 2022 00:52:25