|
| NavmsgFilter (bool is_valid) |
|
std::string | to_string () const |
| Output parsable JSON string representation.
|
|
bool | Pass (NavmsgStatus status, const std::shared_ptr< const NavMsg > &msg) |
| Return true if message is not matched by filter.
|
|
std::string | GetName () |
| Return human-readable name.
|
|
void | SetName (const std::string &new_name) |
| Set human-readable name.
|
|
Definition at line 84 of file navmsg_filter.h.
◆ NavmsgFilter() [1/2]
NavmsgFilter::NavmsgFilter |
( |
| ) |
|
|
inline |
◆ NavmsgFilter() [2/2]
NavmsgFilter::NavmsgFilter |
( |
bool |
is_valid | ) |
|
|
inline |
◆ GetAllFilters()
Return list of all filters, system + user defined.
Definition at line 213 of file navmsg_filter.cpp.
◆ GetFilters()
std::vector< NavmsgFilter > NavmsgFilter::GetFilters |
( |
const fs::path & |
path | ) |
|
|
static |
Return list of pre-defined filters shipped with app, test hook.
Definition at line 186 of file navmsg_filter.cpp.
◆ GetSystemFilters()
std::vector< NavmsgFilter > NavmsgFilter::GetSystemFilters |
( |
| ) |
|
|
static |
Return list of pre-defined filters shipped with application.
Definition at line 203 of file navmsg_filter.cpp.
◆ Parse() [1/2]
◆ Parse() [2/2]
◆ Pass()
bool NavmsgFilter::Pass |
( |
NavmsgStatus |
status, |
|
|
const std::shared_ptr< const NavMsg > & |
msg |
|
) |
| |
◆ to_string()
std::string NavmsgFilter::to_string |
( |
| ) |
const |
◆ accepted
std::set<NavmsgStatus::Accepted> NavmsgFilter::accepted |
◆ buses
std::set<NavAddr::Bus> NavmsgFilter::buses |
◆ directions
std::set<NavmsgStatus::Direction> NavmsgFilter::directions |
◆ exclude_msg
std::set<std::string> NavmsgFilter::exclude_msg |
◆ include_msg
std::set<std::string> NavmsgFilter::include_msg |
◆ interfaces
std::set<std::string> NavmsgFilter::interfaces |
◆ m_description
std::string NavmsgFilter::m_description |
◆ m_is_valid
bool NavmsgFilter::m_is_valid |
◆ m_name
std::string NavmsgFilter::m_name |
◆ pgns
std::set<N2kPGN> NavmsgFilter::pgns |
◆ src_pgns
std::set<N2kName> NavmsgFilter::src_pgns |
◆ status
std::set<NavmsgStatus::State> NavmsgFilter::status |
The documentation for this class was generated from the following files: