Navigation
API > API/Plugins > API/Plugins/LiveLink
| Name | FLiveLinkSourceCollection |
| Type | class |
| Header File | /Engine/Plugins/Animation/LiveLink/Source/LiveLink/Public/LiveLinkSourceCollection.h |
| Include Path | #include "LiveLinkSourceCollection.h" |
Syntax
class FLiveLinkSourceCollection
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| LiveLinkSourceCollection.h | |||
| LiveLinkSourceCollection.h | |||
| LiveLinkSourceCollection.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DefaultVirtualSubjectGuid | const FGuid | "source guid" for virtual subjects | LiveLinkSourceCollection.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnLiveLinkSourceAddedDelegate | FOnLiveLinkSourceChangedDelegate | Notify when a client source's is added | LiveLinkSourceCollection.h | |
| OnLiveLinkSourceRemovedDelegate | FOnLiveLinkSourceChangedDelegate | Notify when a client source's is removed | LiveLinkSourceCollection.h | |
| OnLiveLinkSourcesChangedDelegate | FSimpleMulticastDelegate | Notify when the client sources list has changed | LiveLinkSourceCollection.h | |
| OnLiveLinkSubjectAddedDelegate | FOnLiveLinkSubjectChangedDelegate | Notify when a client subject's is added | LiveLinkSourceCollection.h | |
| OnLiveLinkSubjectEnabledDelegate | FOnLiveLinkSubjectEnabledDelegate | Notify when a client subject's state of enabled has changed. | LiveLinkSourceCollection.h | |
| OnLiveLinkSubjectRemovedDelegate | FOnLiveLinkSubjectChangedDelegate | Notify when a client subject's is removed | LiveLinkSourceCollection.h | |
| OnLiveLinkSubjectsChangedDelegate | FSimpleMulticastDelegate | Notify when a client subjects list has changed | LiveLinkSourceCollection.h | |
| OnLiveLinkSubjectStateChangedDelegate | FOnLiveLinkSubjectStateChanged | Notify when a client subject's state has changed. (ie. it became stale) | LiveLinkSourceCollection.h | |
| Sources | TArray< FLiveLinkCollectionSourceItem > | LiveLinkSourceCollection.h | ||
| SourcesLock | UE::FTransactionallySafeRecursiveMutex | Lock to stop multiple threads accessing the Sources from the collection at the same time | LiveLinkSourceCollection.h | |
| Subjects | TArray< FLiveLinkCollectionSubjectItem > | LiveLinkSourceCollection.h | ||
| SubjectsLock | UE::FTransactionallySafeRecursiveMutex | Lock to stop multiple threads accessing the Subjects from the collection at the same time | LiveLinkSourceCollection.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddSource
(
FLiveLinkCollectionSourceItem Source |
LiveLinkSourceCollection.h | ||
void AddSubject
(
FLiveLinkCollectionSubjectItem Subject |
LiveLinkSourceCollection.h | ||
void ApplyToSubject
(
const FLiveLinkSubjectKey& InSubjectKey, |
Thread safe way to apply a method over a subject. | LiveLinkSourceCollection.h | |
void BroadcastOnGameThread
(
DelegateType& InDelegate, |
Utility method used to broadcast delegates on the game thread if this function is called on a different thread. | LiveLinkSourceCollection.h | |
const FLiveLinkCollectionSubjectItem * FindEnabledSubject
(
FLiveLinkSubjectName SubjectName |
LiveLinkSourceCollection.h | ||
const FLiveLinkCollectionSourceItem * FindSource
(
FGuid SourceGuid |
LiveLinkSourceCollection.h | ||
FLiveLinkCollectionSourceItem * FindSource
(
FGuid SourceGuid |
LiveLinkSourceCollection.h | ||
const FLiveLinkCollectionSourceItem * FindSource
(
TSharedPtr< ILiveLinkSource > Source |
LiveLinkSourceCollection.h | ||
FLiveLinkCollectionSourceItem * FindSource
(
TSharedPtr< ILiveLinkSource > Source |
LiveLinkSourceCollection.h | ||
const FLiveLinkCollectionSubjectItem * FindSubject
(
FLiveLinkSubjectName SubjectName |
LiveLinkSourceCollection.h | ||
const FLiveLinkCollectionSubjectItem * FindSubject
(
FLiveLinkSubjectKey SubjectKey |
LiveLinkSourceCollection.h | ||
FLiveLinkCollectionSubjectItem * FindSubject
(
FLiveLinkSubjectKey SubjectKey |
LiveLinkSourceCollection.h | ||
const FLiveLinkCollectionSourceItem * FindVirtualSource
(
FName VirtualSourceName |
LiveLinkSourceCollection.h | ||
FLiveLinkCollectionSourceItem * FindVirtualSource
(
FName VirtualSourceName |
LiveLinkSourceCollection.h | ||
void ForEachSource
(
TFunctionRef< void(const FLiveLinkCollectionSourceItem&)> VisitorFunc |
Thread safe way to apply a method over every source. | LiveLinkSourceCollection.h | |
void ForEachSource
(
TFunctionRef< void(FLiveLinkCollectionSourceItem&)> VisitorFunc |
Thread safe way to apply a method over every source. | LiveLinkSourceCollection.h | |
void ForEachSubject
(
TFunctionRef< void(const FLiveLinkCollectionSourceItem&, const FLiveLinkCollectionSubjectItem&)> V... |
Thread safe way to apply a method over every subject. | LiveLinkSourceCollection.h | |
void ForEachSubject
(
TFunctionRef< void(FLiveLinkCollectionSourceItem&, FLiveLinkCollectionSubjectItem&)> VisitorFunc |
Thread safe way to apply a method over every subject. | LiveLinkSourceCollection.h | |
const TArray< FLiveLinkCollectionSourceItem > & GetSources () |
LiveLinkSourceCollection.h | ||
| LiveLinkSourceCollection.h | |||
const TArray< FLiveLinkCollectionSubjectItem > & GetSubjects() |
LiveLinkSourceCollection.h | ||
bool IsSubjectEnabled
(
FLiveLinkSubjectKey SubjectKey |
LiveLinkSourceCollection.h | ||
int32 NumSources() |
Get the number of sources in the collection. | LiveLinkSourceCollection.h | |
int32 NumSubjects() |
Get the number of subjects in the collection. | LiveLinkSourceCollection.h | |
FOnLiveLinkSourceChangedDelegate & OnLiveLinkSourceAdded() |
LiveLinkSourceCollection.h | ||
FOnLiveLinkSourceChangedDelegate & OnLiveLinkSourceRemoved() |
LiveLinkSourceCollection.h | ||
FSimpleMulticastDelegate & OnLiveLinkSourcesChanged() |
LiveLinkSourceCollection.h | ||
FOnLiveLinkSubjectChangedDelegate & OnLiveLinkSubjectAdded() |
LiveLinkSourceCollection.h | ||
FOnLiveLinkSubjectEnabledDelegate & OnLiveLinkSubjectEnabledChanged() |
LiveLinkSourceCollection.h | ||
FOnLiveLinkSubjectChangedDelegate & OnLiveLinkSubjectRemoved() |
LiveLinkSourceCollection.h | ||
FSimpleMulticastDelegate & OnLiveLinkSubjectsChanged() |
LiveLinkSourceCollection.h | ||
FOnLiveLinkSubjectStateChanged & OnLiveLinkSubjectStateChanged() |
LiveLinkSourceCollection.h | ||
void RemoveAllSources() |
LiveLinkSourceCollection.h | ||
void RemovePendingKill() |
LiveLinkSourceCollection.h | ||
void RemoveSource
(
FGuid SourceGuid |
LiveLinkSourceCollection.h | ||
void RemoveSubject
(
FLiveLinkSubjectKey SubjectKey |
LiveLinkSourceCollection.h | ||
bool RequestShutdown() |
LiveLinkSourceCollection.h | ||
void SetSubjectEnabled
(
FLiveLinkSubjectKey SubjectKey, |
LiveLinkSourceCollection.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| LiveLinkSourceCollection.h | |||
FLiveLinkSourceCollection & operator=
(
const FLiveLinkSourceCollection& |
LiveLinkSourceCollection.h |