Navigation
API > API/Plugins > API/Plugins/DisplayClusterReplication
Custom NetDriver for DisplayCluster. Responsible for synchronous application of network packets across display cluster nodes. Results in seamless image when used with Actor replication system.
| Name | UDisplayClusterNetDriver |
| Type | class |
| Header File | /Engine/Plugins/Runtime/nDisplay/Source/DisplayClusterReplication/Public/DisplayClusterNetDriver.h |
| Include Path | #include "DisplayClusterNetDriver.h" |
Syntax
UCLASS (Transient, Config=Engine)
class UDisplayClusterNetDriver : public UIpNetDriver
Inheritance Hierarchy
- FExec → UNetDriver → UIpNetDriver → UDisplayClusterNetDriver
- UObjectBase → UObjectBaseUtility → UObject → UNetDriver → UIpNetDriver → UDisplayClusterNetDriver
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UDisplayClusterNetDriver
(
const FObjectInitializer& ObjectInitializer |
DisplayClusterNetDriver.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~UDisplayClusterNetDriver() |
DisplayClusterNetDriver.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| NodeSyncEvent | const int | Cluster event id, used to start synchrosonus packets processing. | DisplayClusterNetDriver.h |
| PacketSyncEvent | const int | Cluster event id, used to identify packet data blob for sync. | DisplayClusterNetDriver.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddNodeConnection
(
UDisplayClusterNetConnection* NetConnection |
Adds connection to nDisplay connection TSet | DisplayClusterNetDriver.h | |
void HandleEvent
(
FDisplayClusterClusterEventBinary const& InEvent |
Performs Cluster Event handling: sync mode start and packet processing on client side | DisplayClusterNetDriver.h | |
virtual bool InitListen
(
FNetworkNotify* InNotify, |
DisplayClusterNetDriver.h | ||
void RemoveNodeConnection
(
UDisplayClusterNetConnection* NetConnection |
Removes connection from nDisplay connection TSet and from synchronized connections | DisplayClusterNetDriver.h | |
virtual void TickDispatch
(
float DeltaTime |
DisplayClusterNetDriver.h | ||
virtual void TickFlush
(
float DeltaSeconds |
DisplayClusterNetDriver.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GenerateClusterCommandsEvent
(
FDisplayClusterClusterEventBinary& NetworkDriverSyncEvent, |
Helper functions for parameters serialization into binary event data. | DisplayClusterNetDriver.h | |
void GenerateClusterCommandsEvent
(
FDisplayClusterClusterEventBinary& NetworkDriverSyncEvent, |
DisplayClusterNetDriver.h | ||
bool NotifyClusterAsReadyForSync
(
int32 ClusterId |
Helper functions used by server side to notify cluster via cluster event that it is are ready for sync. | DisplayClusterNetDriver.h |