Skip to main content

MultiComputerWrapper

MultiComputerWrapper

Template wrapper to type-erase IMultiColumnComputer in the registry. More…

#include <ComputerRegistry.hpp>

Inherits from IComputerBase

Public Functions

Name
MultiComputerWrapper(std::unique_ptr< IMultiColumnComputer< T > > computer)
IMultiColumnComputer< T > * get() const
std::shared_ptr< IMultiColumnComputer< T > > getComputer() const
std::unique_ptr< IMultiColumnComputer< T > > releaseComputer()

Additional inherited members

Public Functions inherited from IComputerBase

Name
virtual ~IComputerBase() =default
IComputerBase(IComputerBase const & ) =delete
IComputerBase & operator=(IComputerBase const & ) =delete
IComputerBase(IComputerBase && ) =delete
IComputerBase & operator=(IComputerBase && ) =delete

Protected Functions inherited from IComputerBase

Name
IComputerBase() =default

Detailed Description

template <typename T >
class MultiComputerWrapper;

Template wrapper to type-erase IMultiColumnComputer in the registry. ## Public Functions Documentation

function MultiComputerWrapper

inline explicit MultiComputerWrapper(
    std::unique_ptr< IMultiColumnComputer< T > > computer
)

function get

inline IMultiColumnComputer< T > * get() const

function getComputer

inline std::shared_ptr< IMultiColumnComputer< T > > getComputer() const

function releaseComputer

inline std::unique_ptr< IMultiColumnComputer< T > > releaseComputer()

Updated on 2026-11-13 at 20:25:40 +0000