UZoneGraphAnnotationSubsystem

A subsystem managing Zonegraph Annotations.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

ZoneGraphAnnotations

Header

/Engine/Plugins/Runtime/ZoneGraphAnnotations/Source/ZoneGraphAnnotations/Public/ZoneGraphAnnotationSubsystem.h

Include

#include "ZoneGraphAnnotationSubsystem.h"

Syntax

UCLASS()
class UZoneGraphAnnotationSubsystem : public UTickableWorldSubsystem

Remarks

A subsystem managing Zonegraph Annotations.

Variables

Name Description

Protected variable

FZoneGraphAnnot...

 

AnnotationTagContainer

Combined tags for each ZoneGraphData.

Protected variable

int32

 

CurrentEventStream

Index of the current event stream.

Protected variable UProperty Transient

FInstancedStruc...

 

Events

Stream of events to be processed, double buffered.

Protected variable

FRWAccessDetect...

 

EventsDetector

Protected variable

FDelegateHandle

 

OnPostZoneGraphDataAddedHandle

Protected variable

FDelegateHandle

 

OnPreZoneGraphDataRemovedHandle

Protected variable UProperty Transient

TArray< FRegist...

 

RegisteredComponents

Array of registered components.

Protected variable UProperty Transient

TArray< UZoneGr...

 

TagToAnnotationLookup

Lookup table from tag index to Annotation

Constructors

Functions

Name Description

Protected function

void

 

AddToAnnotationLookup

(
    UZoneGraphAnnotationComponent& Ann...,
    const FZoneGraphTagMask AnnotationT...
)

Public function Const

FZoneGraphTa...

 

GetAnnotationTags

(
    const FZoneGraphLaneHandle LaneHand...
)

Public function Const

UZoneGraphAn...

 

GetFirstAnnotationForTag

(
    const FZoneGraphTag AnnotationTag
)

Protected function

void

 

PostZoneGraphDataAdded

(
    const AZoneGraphData* ZoneGrap...
)

Protected function

void

 

PreZoneGraphDataRemoved

(
    const AZoneGraphData* ZoneGrap...
)

Public function

void

 

RegisterAnnotationComponent

(
    UZoneGraphAnnotationComponent& Com...
)

Registers Annotation component

Protected function

void

 

RemoveFromAnnotationLookup

(
    UZoneGraphAnnotationComponent& Ann...
)

Public function

void

 

ReregisterTagsInEditor()

Signals the subsystem to re-register all tags.

Public function

TEnableIf< T...

 

SendEvent

(
    const T& InRequest
)

Sends an event to the Annotations.

Public function

void

 

UnregisterAnnotationComponent

(
    UZoneGraphAnnotationComponent& Com...
)

Unregisters Annotation component

Overridden from USubsystem

Name Description

Protected function Virtual

void

 

Deinitialize()

Implement this for deinitialization of instances of the system

Protected function Virtual

void

 

Initialize

(
    FSubsystemCollectionBase& Collecti...
)

USubsystem implementation Begin.

Overridden from FTickableObjectBase

Name Description

Protected function Virtual Const

TStatId

 

GetStatId()

Return the stat id to use for this tickable

Protected function Virtual

void

 

Tick

(
    float DeltaTime
)

Pure virtual that must be overloaded by the inheriting class.