Class ComponentExporter
Defined in File ComponentExporter.hpp
Inheritance Relationships
Base Types
public Cacao::Resource
(Class Resource)private std::enable_shared_from_this< ComponentExporter >
Class Documentation
-
class ComponentExporter : public Cacao::Resource, private std::enable_shared_from_this<ComponentExporter>
A wrapper object for component creation used for exporting components from game code to make them visible to the engine.
Public Functions
Public Static Functions
Create a new exporter.
- Parameters:
factory – A function that constructs the component on demand
addr – The resource address identifier to associate with the component exporter