Model Class Template
Typed wrapper that adapts a concrete system to the Concept interface. More...
Declaration
template <typename T>
class helios::engine::runtime::world::System::Model<T> { ... }
Base class
| class | helios::engine::runtime::world::System::Concept |
Public Constructors Index
template <typename T> | |
| Model (T sys) | |
Public Member Functions Index
template <typename T> | |
| void | update (UpdateContext &updateContext) noexcept override |
template <typename T> | |
| void | init (GameWorld &gameWorld) noexcept override |
template <typename T> | |
| void * | underlying () noexcept override |
template <typename T> | |
| const void * | underlying () const noexcept override |
Private Member Attributes Index
template <typename T> | |
| T | system_ |
Description
Typed wrapper that adapts a concrete system to the Concept interface.
- Template Parameters
-
T The concrete system type, must satisfy `HasUpdate<T>`.
Definition at line 65 of file System.ixx.
Public Constructors
Model()
template <typename T>
| inline explicit |
Definition at line 71 of file System.ixx.
71 explicit Model(T sys) : system_(std::move(sys)) {}
Public Member Functions
init()
template <typename T>
| inline noexcept |
Definition at line 76 of file System.ixx.
underlying()
template <typename T>
| inline noexcept |
Definition at line 82 of file System.ixx.
underlying()
template <typename T>
| inline noexcept |
Definition at line 86 of file System.ixx.
update()
template <typename T>
| inline noexcept |
Definition at line 73 of file System.ixx.
73 void update(UpdateContext& updateContext) noexcept override {
74 system_.update(updateContext);
75 }
Private Member Attributes
system_
template <typename T>
|
Definition at line 66 of file System.ixx.
66 T system_;
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.