Navigation
API > API/Plugins > API/Plugins/AvalancheMedia
Single Instance Class that manages all the Output Channels
| Name | UAvaBroadcast |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/Avalanche/Source/AvalancheMedia/Public/Broadcast/AvaBroadcast.h |
| Include Path | #include "Broadcast/AvaBroadcast.h" |
Syntax
UCLASS (NotBlueprintable)
class UAvaBroadcast : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UAvaBroadcast
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDelegateHandle AddChangeListener
(
FOnAvaBroadcastChanged::FDelegate&& InDelegate |
Broadcast/AvaBroadcast.h | ||
int32 AddChannelName
(
FName InChannelName |
Add the given channel name to the array of channel names. | Broadcast/AvaBroadcast.h | |
| Broadcast/AvaBroadcast.h | |||
| Broadcast/AvaBroadcast.h | |||
bool CanShowPreview() |
Broadcast/AvaBroadcast.h | ||
bool ConditionalStartBroadcastChannel
(
const FName& InChannelName |
Starts the channel if not started. Does nothing if already started. | Broadcast/AvaBroadcast.h | |
| Returns the actual name of the profile created. Defers in Number from InProfileName if it is an already existing Profile. | Broadcast/AvaBroadcast.h | ||
bool DuplicateCurrentProfile
(
FName InNewProfileName, |
Broadcast/AvaBroadcast.h | ||
| Broadcast/AvaBroadcast.h | |||
FString GetBroadcastSaveFilepath() |
Broadcast/AvaBroadcast.h | ||
int32 GetChannelIndex
(
FName InChannelName |
Returns the index of the channel in the channel name array. | Broadcast/AvaBroadcast.h | |
FName GetChannelName
(
int32 ChannelIndex |
Broadcast/AvaBroadcast.h | ||
int32 GetChannelNameCount() |
Broadcast/AvaBroadcast.h | ||
EAvaBroadcastChannelType GetChannelType
(
FName InChannelName |
Broadcast/AvaBroadcast.h | ||
const FAvaBroadcastProfile & GetCurrentProfile () |
Broadcast/AvaBroadcast.h | ||
| Broadcast/AvaBroadcast.h | |||
FName GetCurrentProfileName() |
Broadcast/AvaBroadcast.h | ||
FOnAvaBroadcastChannelsListChanged & GetOnChannelsListChanged() |
Broadcast/AvaBroadcast.h | ||
FName GetOrAddChannelName
(
int32 ChannelIndex |
Broadcast/AvaBroadcast.h | ||
| If the given channel was pinned, returns the profile it was pinned in, returns Name_None otherwise. | Broadcast/AvaBroadcast.h | ||
const FAvaBroadcastProfile & GetProfile
(
FName InProfileName |
Broadcast/AvaBroadcast.h | ||
FAvaBroadcastProfile & GetProfile
(
FName InProfileName |
Broadcast/AvaBroadcast.h | ||
| Broadcast/AvaBroadcast.h | |||
const TMap< FName, FAvaBroadcastProfile > & GetProfiles() |
Broadcast/AvaBroadcast.h | ||
bool IsBroadcastingAllChannels() |
Broadcast/AvaBroadcast.h |
|
|
bool IsBroadcastingAnyChannel() |
Broadcast/AvaBroadcast.h |
|
|
bool IsChannelPinned
(
FName InChannelName |
Broadcast/AvaBroadcast.h | ||
void LoadBroadcast() |
Broadcast/AvaBroadcast.h | ||
| Pins the given channel from the given profile to persist across all the profiles. | Broadcast/AvaBroadcast.h | ||
void QueueNotifyChange
(
EAvaBroadcastChange InChange |
Rather than Immediately calling the Broadcast Event change, it will queue all the multiple calls and dispatch it once to avoid redundancy. | Broadcast/AvaBroadcast.h | |
void RebuildProfiles () |
Rebuilds the channel lists that might include pinned channels from other profiles. | Broadcast/AvaBroadcast.h | |
void RemoveChangeListener
(
FDelegateHandle InDelegateHandle |
Broadcast/AvaBroadcast.h | ||
void RemoveChangeListener
(
FDelegateUserObjectConst InUserObject |
Broadcast/AvaBroadcast.h | ||
bool RemoveProfile
(
FName InProfileName |
Broadcast/AvaBroadcast.h | ||
| Broadcast/AvaBroadcast.h | |||
| Broadcast/AvaBroadcast.h | |||
void SaveBroadcast() |
Broadcast/AvaBroadcast.h | ||
void SetCanShowPreview
(
bool bInCanShowPreview |
Broadcast/AvaBroadcast.h | ||
void SetChannelType
(
FName InChannelName, |
Sets the type (ex: Program or Preview) of the given channel across all profiles. | Broadcast/AvaBroadcast.h | |
bool SetCurrentProfile
(
FName InProfileName |
Broadcast/AvaBroadcast.h | ||
void StartBroadcast() |
Broadcast/AvaBroadcast.h |
|
|
void StopBroadcast() |
Broadcast/AvaBroadcast.h |
|
|
void UnpinChannel
(
FName InChannelName |
Unpins the given channel (if it was pinned) so that is no longer persists across all profiles. | Broadcast/AvaBroadcast.h | |
void UpdateChannelNames() |
Broadcast/AvaBroadcast.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDestroy() |
Broadcast/AvaBroadcast.h | ||
virtual void PostEditUndo() |
Broadcast/AvaBroadcast.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArray< int32 > BuildChannelIndices() |
Broadcast/AvaBroadcast.h | ||
FAvaBroadcastProfile & CreateProfileInternal
(
FName InProfileName |
Broadcast/AvaBroadcast.h | ||
void EnsureValidCurrentProfile() |
Broadcast/AvaBroadcast.h | ||
void UpdateProfileNames() |
Broadcast/AvaBroadcast.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UAvaBroadcast & Get() |
Broadcast/AvaBroadcast.h | ||
static UAvaBroadcast * GetBroadcast() |
Broadcast/AvaBroadcast.h |
|