UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
DirectLink::FSharedState Class Reference

Public Member Functions

 FSharedState (const FString &NiceName)
 
FStreamDescriptionGetStreamByLocalPort (FStreamPort LocalPort, const FRWScopeLock &_)
 
void CloseStreamInternal (FStreamDescription &Stream, const FRWScopeLock &_, bool bNotifyRemote=true)
 

Public Attributes

FRWLock SourcesLock
 
TArray< TSharedPtr< FStreamSource > > Sources
 
std::atomic< boolbDirtySources {false}
 
FRWLock DestinationsLock
 
TArray< TSharedPtr< FStreamDestination > > Destinations
 
std::atomic< boolbDirtyDestinations {false}
 
FRWLock StreamsLock
 
FStreamPort StreamPortIdGenerator = InvalidStreamPort
 
TArray< FStreamDescriptionStreams
 
FRWLock ObserversLock
 
TArray< IEndpointObserver * > Observers
 
FRWLock RawInfoCopyLock
 
FRawInfo RawInfo
 
std::atomic< boolbInnerThreadShouldRun {false}
 
bool bDebugLog = false
 
const FString NiceName
 
TSharedPtr< FMessageEndpoint, ESPMode::ThreadSafeMessageEndpoint
 

Constructor & Destructor Documentation

◆ FSharedState()

DirectLink::FSharedState::FSharedState ( const FString &  NiceName)
inline

Member Function Documentation

◆ CloseStreamInternal()

void DirectLink::FSharedState::CloseStreamInternal ( FStreamDescription Stream,
const FRWScopeLock _,
bool  bNotifyRemote = true 
)

◆ GetStreamByLocalPort()

FStreamDescription * DirectLink::FSharedState::GetStreamByLocalPort ( FStreamPort  LocalPort,
const FRWScopeLock _ 
)

Member Data Documentation

◆ bDebugLog

bool DirectLink::FSharedState::bDebugLog = false

◆ bDirtyDestinations

std::atomic<bool> DirectLink::FSharedState::bDirtyDestinations {false}

◆ bDirtySources

std::atomic<bool> DirectLink::FSharedState::bDirtySources {false}

◆ bInnerThreadShouldRun

std::atomic<bool> DirectLink::FSharedState::bInnerThreadShouldRun {false}

◆ Destinations

TArray<TSharedPtr<FStreamDestination> > DirectLink::FSharedState::Destinations

◆ DestinationsLock

FRWLock DirectLink::FSharedState::DestinationsLock
mutable

◆ MessageEndpoint

TSharedPtr<FMessageEndpoint, ESPMode::ThreadSafe> DirectLink::FSharedState::MessageEndpoint

◆ NiceName

const FString DirectLink::FSharedState::NiceName

◆ Observers

TArray<IEndpointObserver*> DirectLink::FSharedState::Observers

◆ ObserversLock

FRWLock DirectLink::FSharedState::ObserversLock
mutable

◆ RawInfo

FRawInfo DirectLink::FSharedState::RawInfo

◆ RawInfoCopyLock

FRWLock DirectLink::FSharedState::RawInfoCopyLock
mutable

◆ Sources

TArray<TSharedPtr<FStreamSource> > DirectLink::FSharedState::Sources

◆ SourcesLock

FRWLock DirectLink::FSharedState::SourcesLock
mutable

◆ StreamPortIdGenerator

FStreamPort DirectLink::FSharedState::StreamPortIdGenerator = InvalidStreamPort

◆ Streams

TArray<FStreamDescription> DirectLink::FSharedState::Streams

◆ StreamsLock

FRWLock DirectLink::FSharedState::StreamsLock
mutable

The documentation for this class was generated from the following file: