Plasma Engine  2.0
Loading...
Searching...
No Matches
plDocumentObjectMirror Class Reference
Inheritance diagram for plDocumentObjectMirror:

Public Types

using FilterFunction = plDelegate<bool(const plDocumentObject*, plStringView)>
 

Public Member Functions

void InitSender (const plDocumentObjectManager *pManager)
 
void InitReceiver (plRttiConverterContext *pContext)
 
void DeInit ()
 
void SetFilterFunction (FilterFunction filter)
 
void SendDocument ()
 
void Clear ()
 
void TreeStructureEventHandler (const plDocumentObjectStructureEvent &e)
 
void TreePropertyEventHandler (const plDocumentObjectPropertyEvent &e)
 
void * GetNativeObjectPointer (const plDocumentObject *pObject)
 
const void * GetNativeObjectPointer (const plDocumentObject *pObject) const
 

Protected Member Functions

bool IsRootObject (const plDocumentObject *pParent)
 
bool IsHeapAllocated (const plDocumentObject *pParent, plStringView sParentProperty)
 
bool IsDiscardedByFilter (const plDocumentObject *pObject, plStringView sProperty) const
 
virtual void ApplyOp (plObjectChange &change)
 
void ApplyOp (plRttiConverterObject object, const plObjectChange &change)
 

Static Protected Member Functions

static void CreatePath (plObjectChange &out_change, const plDocumentObject *pRoot, plStringView sProperty)
 
static plUuid FindRootOpObject (const plDocumentObject *pObject, plHybridArray< const plDocumentObject *, 8 > &path)
 
static void FlattenSteps (const plArrayPtr< const plDocumentObject *const > path, plHybridArray< plPropertyPathStep, 2 > &out_steps)
 

Protected Attributes

plRttiConverterContextm_pContext
 
const plDocumentObjectManagerm_pManager
 
FilterFunction m_Filter
 

Member Function Documentation

◆ SetFilterFunction()

void plDocumentObjectMirror::SetFilterFunction ( FilterFunction filter)
Parameters
filterFilter that defines whether an object property should be mirrored or not.

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