LkEngine 0.1.2
 
Loading...
Searching...
No Matches
LkEngine::LObjectBase Class Reference

#include <ObjectBase.h>

Inheritance diagram for LkEngine::LObjectBase:
LkEngine::LObject LkEngine::IAssetManager LkEngine::IPanel LkEngine::LApplication LkEngine::LArrayTexture LkEngine::LAsset LkEngine::LCamera LkEngine::LEntity LkEngine::LEventQueue LkEngine::LFramebuffer LkEngine::LImage LkEngine::LIndexBuffer LkEngine::LKeyboard LkEngine::LLayer LkEngine::LLayerStack LkEngine::LMaterial LkEngine::LMaterialTable LkEngine::LMeshSerializer LkEngine::LMeshSourceSerializer LkEngine::LPanelManager LkEngine::LPipeline LkEngine::LProject LkEngine::LRenderCommandBuffer LkEngine::LRenderContext LkEngine::LRenderPass LkEngine::LRenderer2D LkEngine::LRenderer2DAPI LkEngine::LRendererAPI LkEngine::LSceneRenderer LkEngine::LSceneSerializer LkEngine::LSelectionContext LkEngine::LShader LkEngine::LShaderLibrary LkEngine::LStaticMeshSerializer LkEngine::LSwapChain LkEngine::LUniformBuffer LkEngine::LUniformBufferSet LkEngine::LVertexBuffer LkEngine::LViewport LkEngine::LWindow LkEngine::Test::LAutomationTest LkEngine::Test::LDummyTestClass LkEngine::Test::LDummyTestClassExpanded

Public Member Functions

template<typename OtherClassType >
FORCEINLINE bool IsA (OtherClassType OtherObject) const
 Check if the object is the same type as the passed object's.
 

Static Public Member Functions

template<typename ClassType >
static FORCEINLINE bool IsChildOf (const ClassType *InObjectClass, const ClassType *InOtherClass)
 Check if the object is a child of another class.
 

Protected Member Functions

void SetClass (LClass *InClass)
 Set the class.
 
FORCEINLINE const LClassGetClass () const
 Get the private class member.
 
FORCEINLINE bool IsClassValid () const
 Check if LObjectBase has a valid LClass object.
 

Detailed Description

Base class implemented by LObject. Holds a LClass reference.

Member Function Documentation

◆ IsChildOf()

template<typename ClassType >
static FORCEINLINE bool LkEngine::LObjectBase::IsChildOf ( const ClassType * InObjectClass,
const ClassType * InOtherClass )
inlinestatic

Check if the object is a child of another class.

Note
Nullchecked.

◆ IsClassValid()

FORCEINLINE bool LkEngine::LObjectBase::IsClassValid ( ) const
inlineprotected

Check if LObjectBase has a valid LClass object.

Used as a validity check during object construction.

◆ SetClass()

void LkEngine::LObjectBase::SetClass ( LClass * InClass)
protected

Set the class.

Invoked once in the LCLASS declaration for an LClass object. Throws error otherwise.


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