#include <Module.h>
Inherited by AZ::AzCoreModule.
Public Member Functions | |
AZ_RTTI (Module, "{59682E0E-731F-4361-BC0B-039BC5376CA1}") | |
AZ_CLASS_ALLOCATOR (Module, AZ::SystemAllocator) | |
Module () | |
virtual | ~Module () |
Module (const Module &)=delete | |
Module & | operator= (const Module &)=delete |
void | Reflect (AZ::ReflectContext *) |
virtual ComponentTypeList | GetRequiredSystemComponents () const |
void | RegisterComponentDescriptors () |
AZStd::list< AZ::ComponentDescriptor * > | GetComponentDescriptors () const |
Protected Attributes | |
AZStd::list< AZ::ComponentDescriptor * > | m_descriptors |
AZ::Module enables static and dynamic modules (aka LIBs and DLLs) to connect with the running AZ::ComponentApplication.
Each module should contain a class which inherits from AZ::Module. This class must perform tasks such as reflecting the classes within the module and adding critical components to the system entity.
AZ::Module::Module | ( | ) |
Override to register the module's ComponentDescriptors.
Example:
|
virtual |
Releases all descriptors in m_descriptors.
|
inlinevirtual |
Override to require specific components on the system entity.
Reimplemented in AZ::AzCoreModule.
|
inline |
DO NOT OVERRIDE. This method will return in the future, but at this point things reflected here are not unreflected for all ReflectContexts (Serialize, Editor, Network, Script, etc.) Place all calls to non-component reflect functions inside of a component reflect function to ensure that your types are unreflected.