IEventContainer

Interface for the injected producer function and associated data buffer

Windows
MacOS
Linux

Inheritance Hierarchy

IEventContainer

TEventContainer

References

Module

ChaosSolvers

Header

/Engine/Source/Runtime/Experimental/ChaosSolvers/Public/EventManager.h

Include

#include "EventManager.h"

Syntax

class IEventContainer

Remarks

Interface for the injected producer function and associated data buffer

Destructors

Name Description

Public function Virtual

~IEventContainer()

Functions

Name Description

Public function

void

 

DispatchConsumerData()

Dispatch events to the registered handlers

Public function

void

 

FlipBufferIfRequired()

Flips the buffer if the buffer type is double or triple

Public function

void

 

InjectProducerData

(
    const FPBDRigidsSolver* Solver
)

Inject data from the physics solver into the producer side of the buffer

Public function

void

 

RegisterHandler

(
    const FEventHandlerPtr& Handler
)

Register the delegate function that will handle the events on the game thread

Public function

void

 

UnregisterHandler

(
    const void* Handler
)

Unregister the delegate function that handles the events on the game thread

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss