VisuTwin Canvas
C++ 3D Engine — Metal Backend
Loading...
Searching...
No Matches
visutwin::canvas::IComponentSystem Class Referenceabstract

#include <framework/components/componentSystem.h>

Inheritance diagram for visutwin::canvas::IComponentSystem:
[legend]

Public Member Functions

virtual std::unique_ptr< ComponentaddComponent (Entity *entity)=0
virtual const std::type_info & componentType () const =0
Engineengine () const
 IComponentSystem (Engine *engine, const std::string &id)
const std::string & id () const
virtual ~IComponentSystem ()=default

Protected Attributes

Engine_engine
std::string _id

Detailed Description

Definition at line 18 of file componentSystem.h.

Constructor & Destructor Documentation

◆ ~IComponentSystem()

virtual visutwin::canvas::IComponentSystem::~IComponentSystem ( )
virtualdefault

◆ IComponentSystem()

visutwin::canvas::IComponentSystem::IComponentSystem ( Engine * engine,
const std::string & id )
inline

Member Function Documentation

◆ addComponent()

◆ componentType()

◆ engine()

◆ id()

const std::string & visutwin::canvas::IComponentSystem::id ( ) const
inlinenodiscard

Member Data Documentation

◆ _engine

Engine* visutwin::canvas::IComponentSystem::_engine
protected

◆ _id

std::string visutwin::canvas::IComponentSystem::_id
protected

Definition at line 31 of file componentSystem.h.

Referenced by IComponentSystem(), and id().


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