Skip to content

FSMCachedPropertyData¶

Module: SMSystem

#include <SMCachedPropertyData.h>

Description¶

class FSMCachedPropertyData;

Thread safe cache to store all required graph properties for quick retrieval during initialization.

Public Functions¶

Name
const TSet< FProperty * > * FindCachedProperties(const UClass * InClass)
void AddCachedProperties(const UClass * InClass, const TSet< FProperty * > & InProperties)
void SetMappedGraphPropertyInstances(const TMap< FGuid, FSMGraphProperty_Base_Runtime * > & InMappedGraphPropertyInstances)
const TMap< FGuid, FSMGraphProperty_Base_Runtime * > & GetMappedGraphPropertyInstances() const

Public Functions Documentation¶

function FindCachedProperties¶

const TSet< FProperty * > * FindCachedProperties(
    const UClass * InClass
)

Locate all cached properties for a given class.


function AddCachedProperties¶

void AddCachedProperties(
    const UClass * InClass,
    const TSet< FProperty * > & InProperties
)

Add a class's properties to the cache.


function SetMappedGraphPropertyInstances¶

void SetMappedGraphPropertyInstances(
    const TMap< FGuid, FSMGraphProperty_Base_Runtime * > & InMappedGraphPropertyInstances
)

Set an entire map of guids to a run time property instance.


function GetMappedGraphPropertyInstances¶

const TMap< FGuid, FSMGraphProperty_Base_Runtime * > & GetMappedGraphPropertyInstances() const

Retrieve the graph property instance map.


Private Attributes Documentation¶

variable CachedProperties¶

TMap< const UClass *, TSet< FProperty * > > CachedProperties;

Class to graph FProperties.


variable MappedGraphPropertyInstances¶

TMap< FGuid, FSMGraphProperty_Base_Runtime * > MappedGraphPropertyInstances;

Property guid to graph runtime instances.


variable CriticalSection¶

FCriticalSection CriticalSection;