Skip to main content

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

classhelios::engine::runtime::messaging::command::CommandBuffer::Concept

Public Constructors Index

template <typename T>
Model (T cmdBuffer)

Public Member Functions Index

template <typename T>
voidflush (UpdateContext &updateContext) noexcept override
template <typename T>
voidinit (CommandHandlerRegistry &commandHandlerRegistry, ManagerRegistry &managerRegistry) noexcept override
template <typename T>
voidclear () 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>
TcmdBuffer_

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 75 of file CommandBuffer.ixx.

Public Constructors

Model()

template <typename T>
helios::engine::runtime::messaging::command::CommandBuffer::Model< T >::Model (T cmdBuffer)
inline explicit

Definition at line 84 of file CommandBuffer.ixx.

84 explicit Model(T cmdBuffer) : cmdBuffer_(std::move(cmdBuffer)) {}

Public Member Functions

clear()

template <typename T>
void helios::engine::runtime::messaging::command::CommandBuffer::Model< T >::clear ()
inline noexcept

Definition at line 94 of file CommandBuffer.ixx.

94 void clear() noexcept override {
95 cmdBuffer_.clear();
96 }

flush()

template <typename T>
void helios::engine::runtime::messaging::command::CommandBuffer::Model< T >::flush (UpdateContext & updateContext)
inline noexcept

Definition at line 86 of file CommandBuffer.ixx.

86 void flush(UpdateContext& updateContext) noexcept override {
87 cmdBuffer_.flush(updateContext);
88 }

init()

template <typename T>
void helios::engine::runtime::messaging::command::CommandBuffer::Model< T >::init (CommandHandlerRegistry & commandHandlerRegistry, ManagerRegistry & managerRegistry)
inline noexcept

Definition at line 90 of file CommandBuffer.ixx.

90 void init(CommandHandlerRegistry& commandHandlerRegistry, ManagerRegistry& managerRegistry) noexcept override {
91 cmdBuffer_.init(commandHandlerRegistry, managerRegistry);
92 }

underlying()

template <typename T>
void * helios::engine::runtime::messaging::command::CommandBuffer::Model< T >::underlying ()
inline noexcept

Definition at line 98 of file CommandBuffer.ixx.

98 void* underlying() noexcept override {
99 return &cmdBuffer_;
100 }

underlying()

template <typename T>
const void * helios::engine::runtime::messaging::command::CommandBuffer::Model< T >::underlying ()
inline noexcept

Definition at line 102 of file CommandBuffer.ixx.

102 const void* underlying() const noexcept override {
103 return &cmdBuffer_;
104 }

Private Member Attributes

cmdBuffer_

template <typename T>
T helios::engine::runtime::messaging::command::CommandBuffer::Model< T >::cmdBuffer_

The owned command buffer instance.

Definition at line 80 of file CommandBuffer.ixx.

80 T cmdBuffer_;

The documentation for this class was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.