Navigation
API > API/Runtime > API/Runtime/SessionServices
References
| Module | SessionServices |
| Header | /Engine/Source/Runtime/SessionServices/Public/ITraceController.h |
| Include | #include "ITraceController.h" |
Syntax
class ITraceController
Remarks
Interface for monitoring known trace service instances. ITraceController is a singleton which tracks all known instances and provides callback for status updates and interfaces to issue commands to one or more remote instances.
Example usage: //I'vefoundthesessioninstancethatwewanttocontrolFGuidInstanceId=...;//GetthecontrollerTSharedPtr
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< ITraceController > | Create
(
TSharedPtr< class IMessageBus >& MessageBus |
Create an instance using a custom message bus | |
| bool | HasAvailableInstance
(
const FGuid& InstanceId |
Return true if an instance with the provided Id exists and has been discovered. | |
| FStatusRecievedEvent & | Event triggered whenever status is updated for any known session. | ||
| void | Request update of channel status from all sessions and instances. | ||
| void | Request to discover all instances | ||
| void | SendDiscoveryRequest
(
const FGuid& SessionId, |
Request to discover a specific instance | |
| void | Request update of setting state from all sessions and instances. | ||
| void | Request update of the status from all sessions and instances. | ||
| void | WithInstance
(
FGuid InstanceId, |
Execute a function on a specific session. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FStatusRecievedEvent | Generic event for updates of status |
Typedefs
| Name | Description |
|---|---|
| FCallback |