IUnrealInsightsModule

Interface for an Unreal Insights module.

Windows
MacOS
Linux

Inheritance Hierarchy

IModuleInterface

IUnrealInsightsModule

References

Module

TraceInsights

Header

/Engine/Source/Developer/TraceInsights/Public/Insights/IUnrealInsightsModule.h

Include

#include "Insights/IUnrealInsightsModule.h"

Syntax

class IUnrealInsightsModule : public IModuleInterface

Remarks

Interface for an Unreal Insights module.

Functions

Name Description

Public function

bool

 

ConnectToStore

(
    const TCHAR* InStoreHost,
    uint32 InStorePort
)

Connects to a specified store.

Public function

void

 

CreateDefaultStore()

Creates the default trace store (for "Browser" mode).

Public function

void

 

CreateSessionBrowser

(
    bool bAllowDebugTools,
    bool bSingleProcess
)

Called when the application starts in "Browser" mode.

Public function

void

 

CreateSessionViewer

(
    bool bAllowDebugTools
)

Called when the application starts in "Viewer" mode.

Public function Const

const FInsig...

 

FindMajorTabConfig

(
    const FName& InMajorTabId
)

Finds a major tab config for the specified id.

Public function Const

TSharedPtr< ...

 

GetAnalysisSession()

Gets the current analysis session.

Public function

Trace::FStor...

 

GetStoreClient()

Gets the store client.

Public function

void

 

InitializeTesting

(
    bool InInitAutomationModules,
    bool InAutoQuit
)

Called to initialize testing in stand alone Insights.

Public function

FOnInsightsM...

 

OnMajorTabCreated()

Callback invoked when a major tab is created

Public function

FOnRegisterM...

 

OnRegisterMajorTabExtension

(
    const FName& InMajorTabId
)

Allows for registering a delegate callback for populating a FInsightsMajorTabExtender structure.

Public function

void

 

RegisterComponent

(
    TSharedPtr< IInsightsComponent > Co...
)

Registers an IInsightsComponent.

Public function

void

 

RegisterMajorTabConfig

(
    const FName& InMajorTabId,
    const FInsightsMajorTabConfig& InC...
)

Registers a major tab layout.

Public function

void

 

ScheduleCommand

(
    const FString& InCmd
)

Called to schedule a command to run after session analysis is complete.

Public function

void

 

SetUnrealInsightsLayoutIni

(
    const FString& InIniPath
)

Sets the ini path for saving persistent layout data.

Public function

void

 

ShutdownUserInterface()

Called when the application shutsdown.

Public function

void

 

StartAnalysisForLastLiveSession()

Starts analysis of the last live session. Called when the application starts in "Viewer" mode.

Public function

void

 

StartAnalysisForTrace

(
    uint32 InTraceId,
    bool InAutoQuit
)

Starts analysis of the specified trace. Called when the application starts in "Viewer" mode.

Public function

void

 

StartAnalysisForTraceFile

(
    const TCHAR* InTraceFile,
    bool InAutoQuit
)

Starts analysis of the specified *.utrace file.

Public function

void

 

UnregisterComponent

(
    TSharedPtr< IInsightsComponent > Co...
)

Unregisters an IInsightsComponent.

Public function

void

 

UnregisterMajorTabConfig

(
    const FName& InMajorTabId
)

Unregisters a major tab layout. This will revert the major tab to spawning with its default layout

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