XII Release 0.1.0
Loading...
Searching...
No Matches
xiiIPCObjectMirrorEngine Class Reference

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

#include <IPCObjectMirrorEngine.h>

Inheritance diagram for xiiIPCObjectMirrorEngine:
[legend]

Public Member Functions

virtual void ApplyOp (xiiObjectChange &inout_change) override
 
- Public Member Functions inherited from xiiDocumentObjectMirror
void InitSender (const xiiDocumentObjectManager *pManager)
 
void InitReceiver (xiiRttiConverterContext *pContext)
 
void DeInit ()
 
void SetFilterFunction (FilterFunction filter)
 
void SendDocument ()
 
void Clear ()
 
void TreeStructureEventHandler (const xiiDocumentObjectStructureEvent &e)
 
void TreePropertyEventHandler (const xiiDocumentObjectPropertyEvent &e)
 
void * GetNativeObjectPointer (const xiiDocumentObject *pObject)
 
const void * GetNativeObjectPointer (const xiiDocumentObject *pObject) const
 

Additional Inherited Members

- Public Types inherited from xiiDocumentObjectMirror
using FilterFunction = xiiDelegate<bool(const xiiDocumentObject*, xiiStringView)>
 
- Protected Member Functions inherited from xiiDocumentObjectMirror
bool IsRootObject (const xiiDocumentObject *pParent)
 
bool IsHeapAllocated (const xiiDocumentObject *pParent, xiiStringView sParentProperty)
 
bool IsDiscardedByFilter (const xiiDocumentObject *pObject, xiiStringView sProperty) const
 
void ApplyOp (xiiRttiConverterObject object, const xiiObjectChange &change)
 
- Static Protected Member Functions inherited from xiiDocumentObjectMirror
static void CreatePath (xiiObjectChange &out_change, const xiiDocumentObject *pRoot, xiiStringView sProperty)
 
static xiiUuid FindRootOpObject (const xiiDocumentObject *pObject, xiiHybridArray< const xiiDocumentObject *, 8 > &path)
 
static void FlattenSteps (const xiiArrayPtr< const xiiDocumentObject *const > path, xiiHybridArray< xiiPropertyPathStep, 2 > &out_steps)
 
- Protected Attributes inherited from xiiDocumentObjectMirror
xiiRttiConverterContextm_pContext
 
const xiiDocumentObjectManagerm_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 xiiIPCObjectMirrorEngine::ApplyOp ( xiiObjectChange & inout_change)
overridevirtual

Reimplemented from xiiDocumentObjectMirror.


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