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

Public Member Functions

virtual void InitializeRegistered (const plUuid &documentGuid, const plUuid &componentGuid) override
 Called once by plLongOpControllerManager::RegisterLongOp() to inform the proxy to which plDocument and component (plDocumentObject) it is linked.
 
virtual const char * GetDisplayName () const override
 Called by the plQtLongOpsPanel to determine the display string to be shown in the UI.
 
virtual void GetReplicationInfo (plStringBuilder &out_sReplicationOpType, plStreamWriter &ref_description) override
 Called every time the long op shall be executed.
 
virtual void Finalize (plResult result, const plDataBuffer &resultData) override
 Called once the corresponding plLongOpWorker has finished.
 
- Public Member Functions inherited from plReflectedClass
virtual const plRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const plRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T >
PL_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.
 

Additional Inherited Members

- Static Public Member Functions inherited from plNoBase
static const plRTTIGetStaticRTTI ()
 

Member Function Documentation

◆ Finalize()

void plLongOpProxy_BakeScene::Finalize ( plResult result,
const plDataBuffer & resultData )
overridevirtual

Called once the corresponding plLongOpWorker has finished.

Parameters
resultWhether the operation succeeded or failed (e.g. via user cancellation).
resultDataOptional data written by plLongOpWorker::Execute().

Reimplemented from plLongOpProxy.

◆ GetDisplayName()

virtual const char * plLongOpProxy_BakeScene::GetDisplayName ( ) const
inlineoverridevirtual

Called by the plQtLongOpsPanel to determine the display string to be shown in the UI.

Implements plLongOpProxy.

◆ GetReplicationInfo()

void plLongOpProxy_BakeScene::GetReplicationInfo ( plStringBuilder & out_sReplicationOpType,
plStreamWriter & inout_config )
overridevirtual

Called every time the long op shall be executed.

Parameters
out_sReplicationOpTypemust name the plLongOpWorker that shall be executed in the engine process.
configcan be optionally written to. The data is transmitted to the plLongOpWorker on the other side and fed to it in plLongOpWorker::InitializeExecution().

Implements plLongOpProxy.

◆ InitializeRegistered()

void plLongOpProxy_BakeScene::InitializeRegistered ( const plUuid & documentGuid,
const plUuid & componentGuid )
overridevirtual

Called once by plLongOpControllerManager::RegisterLongOp() to inform the proxy to which plDocument and component (plDocumentObject) it is linked.

Reimplemented from plLongOpProxy.


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