mirror of
https://github.com/eclipse-openvehicle-api/openvehicle-api.git
synced 2026-02-05 15:18:45 +00:00
asc file reader and small log enhancements (#3)
This commit is contained in:
@@ -43,7 +43,7 @@ namespace asc
|
||||
switch (eState)
|
||||
{
|
||||
case EState::header:
|
||||
if (ssLine.compare(0, 18, "Begin Triggerblock") == 0)
|
||||
if (ssLine.compare(0, 18, "Begin TriggerBlock") == 0)
|
||||
eState = EState::body;
|
||||
break;
|
||||
case EState::body:
|
||||
@@ -72,6 +72,11 @@ namespace asc
|
||||
return std::make_pair(*m_itCurrent, true);
|
||||
}
|
||||
|
||||
uint32_t CAscReader::GetMessageCount() const
|
||||
{
|
||||
return m_lstMessages.size();
|
||||
}
|
||||
|
||||
uint32_t CAscReader::GetLoopCount() const
|
||||
{
|
||||
return m_uiLoopCount;
|
||||
|
||||
Reference in New Issue
Block a user