5#include "Foundation/ComponentModel/Entity.h"
6#include "Foundation/Reflection/TypeDatabase.h"
36 void * messageCallback =
nullptr;
37 void * userData =
nullptr;
38 size_t dynamicTypeInfoIndex =
static_cast<size_t>(-1);
49 return Reflection::TypeDatabase::createType<T>().template setBase<DynamicComponent>();
55template<>
inline Cogs::StringView getName<Cogs::Core::DynamicComponent>() {
return "DynamicComponent"; }
Base class for Component instances.
Base class for components implementing dynamic behavior.
static Reflection::Type & registerDerivedType()
Convenience method for registering the type of a derived component.
static COGSCORE_DLL_API void registerType()
Register the type in the type system.
Represents a discrete type definition, describing a native type class.
Provides a weakly referenced view over the contents of a string.
Contains all Cogs related functionality.