40 using BaseAbstractSystem = _BaseAbstractSystem;
44 "BaseAbstractSystem must inherit Ra::Core::System" );
58 dispatch( [taskQueue, &frameInfo](
const auto& s ) {
59 s->generateTasks( taskQueue, frameInfo );
62 inline void handleAssetLoading( Entity* entity,
const Core::Asset::FileData* data )
override {
63 BaseAbstractSystem::handleAssetLoading( entity, data );
64 dispatch( [entity, data](
const auto& s ) { s->handleAssetLoading( entity, data ); } );
70 template <
typename Functor>
72 for (
auto& s : m_systems )
78 template <
typename Functor>
80 for (
const auto& s : m_systems )
109 template <
typename Functor>
111 for (
auto& s : m_systems ) {
112 if ( !f( s ) && abortWhenInvalid )
return false;
118 template <
typename Functor>
120 for (
const auto& s : m_systems ) {
121 if ( !f( s ) && abortWhenInvalid )
return false;