LiteFX 0.3.1.2022
Computer Graphics Engine
LiteFX::Implement< TInterface > Class Template Reference

Base class for an implementation of a public interface class. More...

#include <containers.hpp>

Public Types

using interface_type = TInterface
 
using base = Implement< interface_type >
 

Public Member Functions

 Implement (TInterface *parent)
 Initializes the implementation instance. More...
 
 Implement (Implement< TInterface > &&)=delete
 
 Implement (const Implement< TInterface > &)=delete
 
virtual ~Implement ()=default
 

Protected Attributes

TInterface * m_parent { nullptr }
 

Detailed Description

template<class TInterface>
class LiteFX::Implement< TInterface >

Base class for an implementation of a public interface class.

See also
LITEFX_IMPLEMENTATION
Template Parameters
TInterfaceThe public interface class that should be implemented.

Member Typedef Documentation

◆ base

template<class TInterface >
using LiteFX::Implement< TInterface >::base = Implement<interface_type>

◆ interface_type

template<class TInterface >
using LiteFX::Implement< TInterface >::interface_type = TInterface

Constructor & Destructor Documentation

◆ Implement() [1/3]

template<class TInterface >
LiteFX::Implement< TInterface >::Implement ( TInterface *  parent)
inline

Initializes the implementation instance.

Parameters
parentThe pointer to the parent public interface instance.

◆ Implement() [2/3]

template<class TInterface >
LiteFX::Implement< TInterface >::Implement ( Implement< TInterface > &&  )
delete

◆ Implement() [3/3]

template<class TInterface >
LiteFX::Implement< TInterface >::Implement ( const Implement< TInterface > &  )
delete

◆ ~Implement()

template<class TInterface >
virtual LiteFX::Implement< TInterface >::~Implement ( )
virtualdefault

Member Data Documentation

◆ m_parent

template<class TInterface >
TInterface* LiteFX::Implement< TInterface >::m_parent { nullptr }
protected