DBC Framework
DBC parsing and CAN signal decoding framework
Loading...
Searching...
No Matches
DbcStatementDispatcher Class Reference

#include <dbc_statement_handler.h>

Public Member Functions

template<class Handler >
void RegisterType (const std::string &keyword)
 
bool Dispatch (const std::string &line, DbcParseContext &context) const
 

Detailed Description

Exact-key dispatch to handlers created once per registration via TypeFactory.

Definition at line 91 of file dbc_statement_handler.h.

Constructor & Destructor Documentation

◆ DbcStatementDispatcher()

DbcStatementDispatcher::DbcStatementDispatcher ( )

Definition at line 374 of file dbc_statement_handler.cpp.

Member Function Documentation

◆ RegisterType()

template<class Handler >
void DbcStatementDispatcher::RegisterType ( const std::string &  keyword)
inline

Definition at line 96 of file dbc_statement_handler.h.

◆ Dispatch()

bool DbcStatementDispatcher::Dispatch ( const std::string &  line,
DbcParseContext &  context 
) const

Returns false for an unregistered keyword; input must be trimmed.

Definition at line 391 of file dbc_statement_handler.cpp.

Referenced by DbcParser::ParseFileWithDiagnostics().


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