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, TimerManager &timerManager) 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 74 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 83 of file CommandBuffer.ixx.

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

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

flush()

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

Definition at line 85 of file CommandBuffer.ixx.

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

init()

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

Definition at line 89 of file CommandBuffer.ixx.

89 void init(CommandHandlerRegistry& commandHandlerRegistry, TimerManager& timerManager) noexcept override {
90 cmdBuffer_.init(commandHandlerRegistry, timerManager);
91 }

underlying()

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

Definition at line 97 of file CommandBuffer.ixx.

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

underlying()

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

Definition at line 101 of file CommandBuffer.ixx.

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

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

79 T cmdBuffer_;

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.