Decoupling the Entity-Component-System Pattern using Semantic Traits for Reusable Realtime Interactive Systems
D. Wiebusch, and M. Latoschik. 9th Workshop on Software Engineering and Architectures for Realtime Interactive Systems (SEARIS), (2015)
Abstract
The Entity-Component-System (ECS) pattern has become a major design pattern used in modern architectures for Real-Time Interactive System (RIS) frameworks. The pattern decouples different aspects of a simulation like graphics, physics, or AI vertically. Its main purpose is to separate algorithms, provided by high-level tailored modules or engines, from the object structure of the low-level entities simulated by those engines. In this context, it retains advantages of object-oriented programming (OOP) like encapsulation and access control. Still, the OOP paradigm introduces coupling when it comes to the low-level implementation details, thus negatively affecting reusability of such systems.
To address these issues we propose a semantics-based approach which facilitates to escape the rigid structures imposed by OOP. Our approach introduces the concept of semantic traits, which enable retrospective classification of entities. The utilization of semantic traits facilitates reuse in the context of ECS-based systems by further decoupling objects from their class definition. The applicability of the approach is validated by examples from a prototypical integration into a recently developed RIS.
%0 Conference Paper
%1 Wiebusch:2015aa
%A Wiebusch, Dennis
%A Latoschik, Marc Erich
%B 9th Workshop on Software Engineering and Architectures for Realtime Interactive Systems (SEARIS)
%D 2015
%K myown simx
%T Decoupling the Entity-Component-System Pattern using Semantic Traits for Reusable Realtime Interactive Systems
%U https://downloads.hci.informatik.uni-wuerzburg.de/2015-ieeevr-searis-semantic-traits.pdf
%X The Entity-Component-System (ECS) pattern has become a major design pattern used in modern architectures for Real-Time Interactive System (RIS) frameworks. The pattern decouples different aspects of a simulation like graphics, physics, or AI vertically. Its main purpose is to separate algorithms, provided by high-level tailored modules or engines, from the object structure of the low-level entities simulated by those engines. In this context, it retains advantages of object-oriented programming (OOP) like encapsulation and access control. Still, the OOP paradigm introduces coupling when it comes to the low-level implementation details, thus negatively affecting reusability of such systems.
To address these issues we propose a semantics-based approach which facilitates to escape the rigid structures imposed by OOP. Our approach introduces the concept of semantic traits, which enable retrospective classification of entities. The utilization of semantic traits facilitates reuse in the context of ECS-based systems by further decoupling objects from their class definition. The applicability of the approach is validated by examples from a prototypical integration into a recently developed RIS.
@inproceedings{Wiebusch:2015aa,
abstract = {The Entity-Component-System (ECS) pattern has become a major design pattern used in modern architectures for Real-Time Interactive System (RIS) frameworks. The pattern decouples different aspects of a simulation like graphics, physics, or AI vertically. Its main purpose is to separate algorithms, provided by high-level tailored modules or engines, from the object structure of the low-level entities simulated by those engines. In this context, it retains advantages of object-oriented programming (OOP) like encapsulation and access control. Still, the OOP paradigm introduces coupling when it comes to the low-level implementation details, thus negatively affecting reusability of such systems.
To address these issues we propose a semantics-based approach which facilitates to escape the rigid structures imposed by OOP. Our approach introduces the concept of semantic traits, which enable retrospective classification of entities. The utilization of semantic traits facilitates reuse in the context of ECS-based systems by further decoupling objects from their class definition. The applicability of the approach is validated by examples from a prototypical integration into a recently developed RIS.},
added-at = {2015-07-28T10:03:47.000+0200},
author = {Wiebusch, Dennis and Latoschik, Marc Erich},
biburl = {https://www.bibsonomy.org/bibtex/2c47fcec5db644c2f40716dc57572d082/hci-uwb},
booktitle = {9th Workshop on Software Engineering and Architectures for Realtime Interactive Systems (SEARIS)},
interhash = {24b23ea5cf09d92bd1c9aaf41c70f6af},
intrahash = {c47fcec5db644c2f40716dc57572d082},
keywords = {myown simx},
series = {IEEE VR},
timestamp = {2024-05-06T17:22:37.000+0200},
title = {Decoupling the Entity-Component-System Pattern using Semantic Traits for Reusable Realtime Interactive Systems},
url = {https://downloads.hci.informatik.uni-wuerzburg.de/2015-ieeevr-searis-semantic-traits.pdf},
year = 2015
}