Navigation
API > API/Plugins > API/Plugins/StormSyncEditor > API/Plugins/StormSyncEditor/Subsystems
Inheritance Hierarchy
- UDynamicSubsystem
- UEditorSubsystem
- UStormSyncNotificationSubsystem
References
| Module | StormSyncEditor |
| Header | /Engine/Plugins/Experimental/StormSync/Source/StormSyncEditor/Public/Subsystems/StormSyncNotificationSubsystem.h |
| Include | #include "Subsystems/StormSyncNotificationSubsystem.h" |
Syntax
UCLASS (MinimalAPI)
class UStormSyncNotificationSubsystem : public UEditorSubsystem
Remarks
This subsystem main purpose is to listen for tcp related events triggered from StormSyncTransport layers and module, to provide in-editor integration and handle UI/UX feedback to the end user.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< FString, FStormSyncNotificationTask > | Notifications | Currently active notifications. Key is the remote address. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddProgressBarNotification
(
const FString& InRemoteAddress, |
Called on OnPreStartSendingBuffer(), creates and display a new notification widget, displaying current status of buffer upload. | |
| TSharedPtr< SNotificationItem > | AddSimpleNotification
(
const FText& InNotificationText |
||
| TSharedPtr< SNotificationItem > | AddSimpleNotification
(
const FNotificationInfo& InInfo |
||
| void | Deinitialize () |
||
| void | |||
| UStormSyncNotificationSubsystem & | Get () |
Static convenience method to return storm sync notification subsystem | |
| void | HandlePullResponse
(
const TSharedPtr< FStormSyncTransportPullResponse >& InResponse |
||
| void | HandlePushResponse
(
const TSharedPtr< FStormSyncTransportPushResponse >& InResponse |
||
| void | HandleSyncResponse
(
const TSharedPtr< FStormSyncTransportSyncResponse >& InResponse, |
||
| void | |||
| void | Initialize
(
FSubsystemCollectionBase& InCollection |
||
| void | |||
| void | Notify
(
const EMessageSeverity::Type InSeverity, |
||
| void | OnDismissButtonClicked
(
const FString InRemoteAddress |
Dismiss button click handler | |
| void | OnPreStartSendingBuffer
(
const FString& InRemoteAddress, |
Callback handler for FStormSyncCoreDelegates::OnPreStartSendingBuffer delegate | |
| void | OnReceivingBytes
(
const FString& InRemoteAddress, |
Callback handler for FStormSyncCoreDelegates::OnPreStartSendingBuffer delegate | |
| void | OnStartSendingBuffer
(
const FString& InRemoteAddress, |
Callback handler for FStormSyncCoreDelegates::OnStartSendingBuffer delegate | |
| void | UpdateProgressBarNotificationOnIncomingBytes
(
const FString& InRemoteAddress, |
Called from OnReceivingBytes() and updates notification widget with received bytes count | |
| void | UpdateProgressBarNotificationOnStart
(
const FString& InRemoteAddress, |
Called from OnStartSendingBuffer() right before sending the stream. | |
| void |
Constants
| Name | Description |
|---|---|
| LogName | The name of the message output log we will send messages to |