Model Class Template
Typed model that adapts a concrete buffer to the Concept interface. More...
Declaration
template <typename T>
class helios::engine::runtime::messaging::command::CommandBuffer::Model<T> { ... }
Base class
| class | helios::engine::runtime::messaging::command::CommandBuffer::Concept |
Public Constructors Index
template <typename T> | |
| Model (T cmdBuffer) | |
Public Member Functions Index
template <typename T> | |
| void | flush (GameWorld &gameWorld, UpdateContext &updateContext) noexcept override |
template <typename T> | |
| void | clear () 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 | cmdBuffer_ |
|
The owned command buffer instance. More... | |
Description
Typed model that adapts a concrete buffer to the Concept interface.
- Template Parameters
-
T The concrete command buffer type.
Definition at line 69 of file CommandBuffer.ixx.
Public Constructors
Model()
template <typename T>
| inline explicit |
Definition at line 78 of file CommandBuffer.ixx.
78 explicit Model(T cmdBuffer) : cmdBuffer_(std::move(cmdBuffer)) {}
Public Member Functions
clear()
template <typename T>
| inline noexcept |
Definition at line 84 of file CommandBuffer.ixx.
flush()
template <typename T>
| inline noexcept |
Definition at line 80 of file CommandBuffer.ixx.
80 void flush(GameWorld& gameWorld, UpdateContext& updateContext) noexcept override {
81 cmdBuffer_.flush(gameWorld, updateContext);
82 }
underlying()
template <typename T>
| inline noexcept |
Definition at line 88 of file CommandBuffer.ixx.
underlying()
template <typename T>
| inline noexcept |
Definition at line 92 of file CommandBuffer.ixx.
Private Member Attributes
cmdBuffer_
template <typename T>
|
The owned command buffer instance.
Definition at line 74 of file CommandBuffer.ixx.
74 T cmdBuffer_;
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.