![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ChaosVDRemoteSessionsManager.h>
Public Types | |
| typedef TFunction< void(const UScriptStruct *)> | FVisitorFunction |
Static Public Member Functions | |
| static CHAOSSOLVERENGINE_API constexpr bool | IsController () |
Object that is able to discover, issue and execute commands back and forth between CVD and client/server/editor instances
| FChaosVDRemoteSessionsManager::FChaosVDRemoteSessionsManager | ( | ) |
| FChaosVDRemoteSessionsManager::DECLARE_MULTICAST_DELEGATE_TwoParams | ( | FMessagingInitialized | , |
| TSharedPtr< IMessageBus > | NewMessageBus, | ||
| TSharedPtr< FMessageEndpoint > | NewEndpoint | ||
| ) |
|
inline |
Iterates through all active and valid cvd sessions, and executes the provided callback to it. if the callbacks returns false, the iteration will stop
| void FChaosVDRemoteSessionsManager::EnumerateMessageTypes | ( | const FVisitorFunction & | InVisitor | ) |
Enumerate messages types allowed by this module.
| InVisitor |
|
inline |
|
inline |
| TWeakPtr< FChaosVDSessionInfo > FChaosVDRemoteSessionsManager::GetSessionInfo | ( | FGuid | Id | ) |
Returns the session info object for the provided ID
| Id | CVD SessionID |
| void FChaosVDRemoteSessionsManager::Initialize | ( | ) |
| void FChaosVDRemoteSessionsManager::Initialize | ( | const TSharedPtr< IMessageBus > & | InMessageBus | ) |
Returns true if this instance has controller capabilities (is either an editor or CVD Standalone, which is also an editor)
|
inline |
|
inline |
|
inline |
|
inline |
Delegate that broadcast when a recording was started in a session (either local or remote)
|
inline |
Delegate that broadcast when a recording stops in a session (either local or remote)
|
inline |
| void FChaosVDRemoteSessionsManager::PublishDataChannelStateChangeUpdate | ( | const FChaosVDChannelStateChangeResponseMessage & | InNewStateData | ) |
Broadcast to the network a data channel state update
| InNewStateData | latest data channel state of the issuing instance |
| void FChaosVDRemoteSessionsManager::PublishRecordingStatusUpdate | ( | const FChaosVDRecordingStatusMessage & | InUpdateMessage | ) |
Broadcast to the network a recording state update
| InUpdateMessage | latest recording state of the issuing instance |
| void FChaosVDRemoteSessionsManager::PublishTraceConnectionDetailsUpdate | ( | const FChaosVDTraceConnectionDetailsMessage & | InUpdateMessage | ) |
Broadcast to the network new trace connection details as they become available
| InUpdateMessage | latest connection details |
| void FChaosVDRemoteSessionsManager::RegisterExternalSupportedMessageType | ( | const UScriptStruct * | ScriptStruct | ) |
Adds a message type to the list of supported message types for this session system.
| ScriptStruct | Message type info |
| void FChaosVDRemoteSessionsManager::ReInitializeMessagingSystem | ( | const TSharedPtr< IMessageBus > & | InMessageBus | ) |
| void FChaosVDRemoteSessionsManager::SendDataChannelStateChangeCommand | ( | const FMessageAddress & | InDestinationAddress, |
| const FChaosVDChannelStateChangeCommandMessage & | InNewStateData | ||
| ) |
Issues a command to the provided address to change the state of a data channel
| InDestinationAddress | Message bus address that will execute the command |
| InNewStateData | New data channel state to apply in the receiving instance |
| void FChaosVDRemoteSessionsManager::SendStartRecordingCommand | ( | const FMessageAddress & | InDestinationAddress, |
| const FChaosVDStartRecordingCommandMessage & | RecordingStartCommandParams | ||
| ) |
Issues a command to the provided address that will start a CVD recording
| InDestinationAddress | Message bus address that will execute the command |
| RecordingStartCommandParams | Desired parameters to be used to start the recording |
| void FChaosVDRemoteSessionsManager::SendStopRecordingCommand | ( | const FMessageAddress & | InDestinationAddress | ) |
Issues a command to the provided address to stop a CVD recording
| InDestinationAddress | Message bus address that will execute the command |
| void FChaosVDRemoteSessionsManager::Shutdown | ( | ) |
| void FChaosVDRemoteSessionsManager::StartSessionDiscovery | ( | ) |
Starts sending ping requests that potential targets (client, servers or other editors) can answer to and report themselves as available
| void FChaosVDRemoteSessionsManager::StopSessionDiscovery | ( | ) |
Stop sending ping requests to potential targets (client, servers or other editors).
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |