Plasma Engine  2.0
Loading...
Searching...
No Matches
plIPCObjectMirrorEditor Class Reference

An object mirror that mirrors across IPC to the engine process. More...

#include <IPCObjectMirrorEditor.h>

Inheritance diagram for plIPCObjectMirrorEditor:

Public Member Functions

void SetIPC (plEditorEngineConnection *pIPC)
 
plEditorEngineConnectionGetIPC ()
 
virtual void ApplyOp (plObjectChange &ref_change) override
 
- Public Member Functions inherited from plDocumentObjectMirror
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
 

Additional Inherited Members

- Public Types inherited from plDocumentObjectMirror
using FilterFunction = plDelegate<bool(const plDocumentObject*, plStringView)>
 
- Protected Member Functions inherited from plDocumentObjectMirror
bool IsRootObject (const plDocumentObject *pParent)
 
bool IsHeapAllocated (const plDocumentObject *pParent, plStringView sParentProperty)
 
bool IsDiscardedByFilter (const plDocumentObject *pObject, plStringView sProperty) const
 
void ApplyOp (plRttiConverterObject object, const plObjectChange &change)
 
- Static Protected Member Functions inherited from plDocumentObjectMirror
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 inherited from plDocumentObjectMirror
plRttiConverterContextm_pContext
 
const plDocumentObjectManagerm_pManager
 
FilterFunction m_Filter
 

Detailed Description

An object mirror that mirrors across IPC to the engine process.

One instance on the editor side needs to be initialized as sender and another one on the engine side as receiver.

Member Function Documentation

◆ ApplyOp()

void plIPCObjectMirrorEditor::ApplyOp ( plObjectChange & ref_change)
overridevirtual

Reimplemented from plDocumentObjectMirror.


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