AgIsoStack++
A control-function-focused implementation of the major ISOBUS and J1939 protocols
Loading...
Searching...
No Matches
can_NAME_filter.hpp
Go to the documentation of this file.
1//================================================================================================
9//================================================================================================
10
11#ifndef CAN_NAME_FILTER_HPP
12#define CAN_NAME_FILTER_HPP
13
15
16namespace isobus
17{
18 //================================================================================================
24 //================================================================================================
26 {
27 public:
31 NAMEFilter(NAME::NAMEParameters nameParameter, std::uint32_t parameterMatchValue);
32
36
39 std::uint32_t get_value() const;
40
44 bool check_name_matches_filter(const NAME &nameToCompare) const;
45
46 private:
48 std::uint32_t value;
49 };
50
51} // namespace isobus
52
53#endif // CAN_NAME_FILTER_HPP
A class that represents a control function's NAME.
A class that associates a NAME parameter with a value of that parameter.
std::uint32_t value
The value of the data associated with the filter component.
NAMEFilter(NAME::NAMEParameters nameParameter, std::uint32_t parameterMatchValue)
Constructor for the NAMEFilter.
NAME::NAMEParameters get_parameter() const
Returns the parameter data associated with this filter.
bool check_name_matches_filter(const NAME &nameToCompare) const
Returns true if a NAME matches this filter class's components.
std::uint32_t get_value() const
Returns the value associated with this filter.
NAME::NAMEParameters parameter
The NAME component to filter against.
A class that represents an ISO11783 control function NAME from an address claim.
Definition can_NAME.hpp:24
NAMEParameters
The encoded components that comprise a NAME.
Definition can_NAME.hpp:28
This namespace encompasses all of the ISO11783 stack's functionality to reduce global namespace pollu...