Closes #33
This commit is contained in:
1 parent
f60faea2e7
commit
f03882d3f4
86 files changed
+3539
-2688
No files matched your search
@@ -411,6 +411,7 @@ DbcStatementDispatcher::DbcStatementDispatcher() {
|
||||
RegisterType<DbcMultiplexingHandler>("SG_MUL_VAL_");
|
||||
RegisterType<DbcFrameHandler>("BO_");
|
||||
RegisterType<DbcSignalHandler>("SG_");
|
||||
RegisterType<DbcUnsupportedSignalTypeHandler>("SIG_VALTYPE_");
|
||||
RegisterType<DbcCommentHandler>("CM_");
|
||||
RegisterType<DbcValueDescriptionHandler>("VAL_");
|
||||
RegisterType<DbcAttributeHandler>("BA_DEF_");
|
||||
@@ -418,6 +419,10 @@ DbcStatementDispatcher::DbcStatementDispatcher() {
|
||||
RegisterType<DbcAttributeHandler>("BA_");
|
||||
}
|
||||
|
||||
void DbcUnsupportedSignalTypeHandler::Handle(const std::string &, DbcParseContext &) const {
|
||||
throw std::runtime_error("SIG_VALTYPE_ declarations are unsupported; refusing potentially incorrect integer decoding.");
|
||||
}
|
||||
|
||||
void DbcHeaderHandler::Handle(const std::string &, DbcParseContext &) const {}
|
||||
|
||||
bool DbcStatementDispatcher::Dispatch(const std::string &line,
|
||||
|
||||
Reference in new issue
Block a user