PDF4PRO ⚡AMP

Modern search engine that looking for books and documents around the web

Example: air traffic controller

Unreal Engine 4: Delegates, Async and Subsystems

Michele MischitelliUnreal Engine 4: Delegates, Async and SubsystemsA follow up session on UE4 s Async execution modelMichele Mischitelli2 Main topics of this meetupDelegatesData types that reference and execute member functions on C++ objectsAsynchronous executionStrategies and classes that allow devsto run asynchronous code using the UE4 frameworkSubsystemsAutomatically instantiated classes with managed lifetimesMichele Mischitelli3 DelegatesType-safe dynamic binding of member functionsMichele MischitelliThere are 4+2 types of delegates in UE4A single function is bound to the delegate4 Delegates that can be bound to multiple functions and execute them all at onceDelegates that can be serialized and rely on reflection (instead of function pointers)SingleMulticastDynamicSimilar to multicast, but only the class that declares it can BroadcastEvents1-byte multicast implementation. Even slower than dynamic multicastDynamic Multicast Sparse Safe to copy Prefer passing by ref Declared using MACROs In global scope Inside a namespace Within a class declaration Support for signatures that Return a value Are const Have up to 8 arguments Have up to 4 additional payloadsMichele MischitelliSingle (or unicast) delegate type5voidFunction()DECLARE_DELEGATE(Dele gateName)voidFunction(<Param1>)DECLARE_DELEGATE_OneParam(DelegateName, Param1 Type)voidFunction(<Param1>.)

What are atomics? • Operations that allow lockless concurrent programming • Atomic operations are indivisible • Are also free of data races. Michele Mischitelli Synchronization primitives 14 Atomics Locking Signalling Waiting

Loading..

Tags:

  Atomic

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Spam in document Broken preview Other abuse

Transcription of Unreal Engine 4: Delegates, Async and Subsystems

Related search queries