Raven Engine v0.1
A modern 3D Game Engine
Loading...
Searching...
No Matches
Raven::PendingRegistration< T > Struct Template Reference

Static-init helper that records a script class for type and lifecycle registration. More...

#include <ScriptEntry.h>

Public Member Functions

 PendingRegistration ()

Public Attributes

PendingEntry m_Entry
 Type registration node.
PendingLifecycleEntry m_LifecycleEntry
 Lifecycle registration node.

Detailed Description

template<typename T>
struct Raven::PendingRegistration< T >

Static-init helper that records a script class for type and lifecycle registration.

Instantiated by the RV_REFLECT macro. Appends a type registration entry to PendingRegistrationList and a lifecycle entry (factory + destructor lambdas) to PendingLifecycleList. Both are flushed when RV_RegisterScripts is called.

Template Parameters
TScript class to register. Must inherit from ScriptBase.

Constructor & Destructor Documentation

◆ PendingRegistration()

template<typename T>
Raven::PendingRegistration< T >::PendingRegistration ( )
inline

Member Data Documentation

◆ m_Entry

template<typename T>
PendingEntry Raven::PendingRegistration< T >::m_Entry

Type registration node.

◆ m_LifecycleEntry

template<typename T>
PendingLifecycleEntry Raven::PendingRegistration< T >::m_LifecycleEntry

Lifecycle registration node.


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