Navigation
API > API/Plugins > API/Plugins/GameplayCameras
A wrapper struct for a list of listeners waiting to be notified of data changes. A class that can be listened-to should own one of these, and expose it so that listeners can register themselves.
| Name | TCameraEventHandlerContainer |
| Type | struct |
| Header File | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/Core/CameraEventHandler.h |
| Include Path | #include "Core/CameraEventHandler.h" |
Syntax
template<typename HandlerInterface>
struct TCameraEventHandlerContainer
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EventHandlers | TLinkedList< HandlerInterface * > * | Core/CameraEventHandler.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Notify
(
FuncType&& Func, |
Invokes the given callback, with the given parameters, on any registered listener. | Core/CameraEventHandler.h | |
void Register
(
TCameraEventHandler< HandlerInterface >& InOutEventHandler, |
Registers a new listener by linking the given wrapper/handle to the list of listeners. | Core/CameraEventHandler.h |