Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
ITASimulationScheduler
Commits
33c5ab04
Commit
33c5ab04
authored
May 07, 2020
by
Pascal Palenda
Browse files
Adapt to new filter interface - WIP
parent
2a474473
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/ITA/simulation_scheduler/room_acoustics/scheduler.cpp
View file @
33c5ab04
...
...
@@ -219,7 +219,7 @@ namespace ITA
bAudible
&&
filterIter
!=
m_lAudibilityFilters
.
end
(
);
++
filterIter
)
{
bAudible
&=
(
*
filterIter
)
->
filter
(
*
m_mPreviousStates
.
at
(
pUpdate
->
getReferenceID
(
)
),
*
pUpdate
);
bAudible
&=
(
*
filterIter
)
->
changeIsAudible
(
*
m_mPreviousStates
.
at
(
pUpdate
->
getReferenceID
(
)
),
*
pUpdate
);
}
}
...
...
tests/all_tests/mocks.hpp
View file @
33c5ab04
...
...
@@ -108,7 +108,7 @@ struct MockAudibilityFilter : public audibility_filter::IAudibilityFilter
return
std
::
make_unique
<
MockAudibilityFilter
>
(
pConfig
);
}
bool
filter
(
const
CUpdateScene
&
previousState
,
const
CUpdateScene
&
newUpdate
)
override
bool
changeIsAudible
(
const
CUpdateScene
&
previousState
,
const
CUpdateScene
&
newUpdate
)
override
{
return
bAudible
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment