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

Copyright (c) Theophilus Eriata. All Rights Reserved. More...

#include <IPCObjectMirrorEditor.h>

Inheritance diagram for xiiIPCObjectMirrorEditor:
[legend]

Public Member Functions

 xiiIPCObjectMirrorEditor ()
 Copyright (c) Theophilus Eriata. All Rights Reserved.
void SetIPC (xiiEditorEngineConnection *pIPC)
xiiEditorEngineConnection * GetIPC ()
virtual void ApplyOp (xiiObjectChange &ref_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
xiiRttiConverterContext * m_pContext
const xiiDocumentObjectManager * m_pManager
FilterFunction m_Filter

Detailed Description

Copyright (c) Theophilus Eriata. All Rights Reserved.

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 xiiIPCObjectMirrorEditor::ApplyOp ( xiiObjectChange & ref_change)
overridevirtual

Reimplemented from xiiDocumentObjectMirror.


The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/Editor/EditorFramework/IPC/IPCObjectMirrorEditor.h
  • /home/runner/work/XII/XII/Source/Editor/EditorFramework/IPC/Implementation/IPCObjectMirrorEditor.cpp