Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::ComponentDescriptorDefault< ComponentClass > Class Template Reference

#include <Component.h>

Inherits AZ::ComponentDescriptorHelper< ComponentClass >.

Public Member Functions

 AZ_CLASS_ALLOCATOR (ComponentDescriptorDefault< ComponentClass >, SystemAllocator)
 
void Reflect (ReflectContext *reflection) const override
 
void GetProvidedServices (ComponentDescriptor::DependencyArrayType &provided, const Component *instance) const override
 
void GetDependentServices (ComponentDescriptor::DependencyArrayType &dependent, const Component *instance) const override
 
void GetRequiredServices (ComponentDescriptor::DependencyArrayType &required, const Component *instance) const override
 
void GetIncompatibleServices (ComponentDescriptor::DependencyArrayType &incompatible, const Component *instance) const override
 
- Public Member Functions inherited from AZ::ComponentDescriptorHelper< ComponentClass >
 ComponentDescriptorHelper ()
 
ComponentCreateComponent () override
 
const char * GetName () const override
 
Uuid GetUuid () const override
 

Detailed Description

template<class ComponentClass>
class AZ::ComponentDescriptorDefault< ComponentClass >

Default descriptor implementation. This implementation forwards all descriptor calls to a static function inside the class.

Member Function Documentation

◆ AZ_CLASS_ALLOCATOR()

template<class ComponentClass >
AZ::ComponentDescriptorDefault< ComponentClass >::AZ_CLASS_ALLOCATOR ( ComponentDescriptorDefault< ComponentClass >  ,
SystemAllocator   
)

Specifies that this class should use the AZ::SystemAllocator for memory management by default.

◆ GetDependentServices()

template<class ComponentClass >
void AZ::ComponentDescriptorDefault< ComponentClass >::GetDependentServices ( ComponentDescriptor::DependencyArrayType dependent,
const Component instance 
) const
inlineoverride

Calls the static function AZ::ComponentDescriptor::GetDependentServices, if the user provided it.

Parameters
providedArray of dependent services.
instanceOptional parameter with which you can refine services for each instance. This value is null if no instance exists.

◆ GetIncompatibleServices()

template<class ComponentClass >
void AZ::ComponentDescriptorDefault< ComponentClass >::GetIncompatibleServices ( ComponentDescriptor::DependencyArrayType incompatible,
const Component instance 
) const
inlineoverride

Calls the static function AZ::ComponentDescriptor::GetIncompatibleServices, if the user provided it.

Parameters
providedArray of incompatible services.
instanceOptional parameter with which you can refine services for each instance. This value is null if no instance exists.

◆ GetProvidedServices()

template<class ComponentClass >
void AZ::ComponentDescriptorDefault< ComponentClass >::GetProvidedServices ( ComponentDescriptor::DependencyArrayType provided,
const Component instance 
) const
inlineoverride

Calls the static function AZ::ComponentDescriptor::GetProvidedServices, if the user provided it.

Parameters
providedArray of provided services.
instanceOptional parameter with which you can refine services for each instance. This value is null if no instance exists.

◆ GetRequiredServices()

template<class ComponentClass >
void AZ::ComponentDescriptorDefault< ComponentClass >::GetRequiredServices ( ComponentDescriptor::DependencyArrayType required,
const Component instance 
) const
inlineoverride

Calls the static function AZ::ComponentDescriptor::GetRequiredServices, if the user provided it.

Parameters
providedArray of required services.
instanceOptional parameter with which you can refine services for each instance. This value is null if no instance exists.

◆ Reflect()

template<class ComponentClass >
void AZ::ComponentDescriptorDefault< ComponentClass >::Reflect ( ReflectContext reflection) const
inlineoverride

Calls the static function AZ::ComponentDescriptor::Reflect if the user provided it.

Parameters
Apointer to the reflection context.

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