Skip to content
Snippets Groups Projects
Commit b150a3e8 authored by Jonathan Ehret's avatar Jonathan Ehret
Browse files

add some debug output

parent dcde2f70
Branches
No related tags found
2 merge requests!2pull changes forward,!1Fix/cluster event wrapper
This commit is part of merge request !2. Comments created here will be created in the context of that merge request.
......@@ -71,6 +71,8 @@ public:
// This call will deserialze the values and fill all values in the tuple appropriately.
FillArgumentTuple<0>(&MemoryReader, &ArgumentTuple);
UE_LOG(LogTemp, Warning, TEXT("[DisplayClusterEventWrapper] Cluster event was received, call function."))
ArgumentTuple.ApplyBefore([this](const ArgTypes&... Arguments)
{ (Object->*MemberFunction)(Forward<const ArgTypes&>(Arguments)...); });
});
......@@ -100,6 +102,7 @@ public:
EDisplayClusterOperationMode OperationMode = IDisplayCluster::Get().GetOperationMode();
if (OperationMode != EDisplayClusterOperationMode::Cluster)
{
UE_LOG(LogTemp, Warning, TEXT("[DisplayClusterEventWrapper] Cluster event was bypassed and function directly called"))
(Object->*MemberFunction)(Forward<ArgTypes>(Arguments)...);
}
else
......@@ -117,6 +120,8 @@ public:
SerializeParameters(&MemoryWriter, Forward<ArgTypes>(Arguments)...);
ClusterManager->EmitClusterEventBinary(ClusterEvent, true);
UE_LOG(LogTemp, Warning, TEXT("[DisplayClusterEventWrapper] Cluster event was emitted"))
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment