Abstract base class for managing audio control subsystems.
More...
#include <ST_AudioControlManagerBase.h>
|
virtual void | Initialize (FSubsystemCollectionBase &Collection) override |
| Called when the subsystem is initialized.
|
virtual void | Deinitialize () override |
| Called before the subsystem is destroyed.
|
virtual void | OnManagedItemRegistered (UObject *ManagedItem, bool bFirstManagedItemRegistered) |
| Called internally when a managed item is registered.
|
virtual void | OnManagedItemDeregistered (UObject *ManagedItem, bool bAllManagedItemDeregistered) |
| Called internally when a managed item is deregistered.
|
virtual void | OnControllerRegistered (FST_AudioController Controller, bool bFirstControllerRegistered) |
| Called internally when a controller is registered.
|
virtual void | OnControllerDeregistered (FST_AudioController Controller, bool bAllControllersDeregistered) |
| Called internally when a controller is deregistered.
|
Abstract base class for managing audio control subsystems.
UST_AudioControlManagerBase provides core functionality for registering and deregistering managed audio control items and controllers. It serves as a foundation for systems that require coordinated control of audio or DMX elements.
◆ Deinitialize()
void UST_AudioControlManagerBase::Deinitialize |
( |
| ) |
|
|
overrideprotectedvirtual |
Called before the subsystem is destroyed.
This function is triggered during shutdown to clean up resources.
◆ DeregisterController()
Deregisters an audio controller from the subsystem.
- Parameters
-
Controller | The audio controller to deregister. |
- Returns
- True if deregistration was successful; false otherwise.
◆ DeregisterManagedItem()
bool UST_AudioControlManagerBase::DeregisterManagedItem |
( |
UObject * | ManagedItem | ) |
|
Deregisters a managed item from the subsystem.
- Parameters
-
ManagedItem | The UObject to deregister. |
- Returns
- True if deregistration was successful; false otherwise.
◆ GetManagedItems()
const TArray< UObject * > & UST_AudioControlManagerBase::GetManagedItems |
( |
| ) |
const |
|
inline |
Gets the list of currently managed items.
- Returns
- A const reference to the array of managed UObjects.
◆ GetRegisteredControllers()
const TArray< FST_AudioController > & UST_AudioControlManagerBase::GetRegisteredControllers |
( |
| ) |
const |
|
inline |
Gets the list of currently registered controllers.
- Returns
- A const reference to the array of registered controllers.
◆ Initialize()
void UST_AudioControlManagerBase::Initialize |
( |
FSubsystemCollectionBase & | Collection | ) |
|
|
overrideprotectedvirtual |
Called when the subsystem is initialized.
This function is triggered when the game instance subsystem is created.
- Parameters
-
Collection | A reference to the subsystem collection. |
◆ OnControllerDeregistered()
void UST_AudioControlManagerBase::OnControllerDeregistered |
( |
FST_AudioController | Controller, |
|
|
bool | bAllControllersDeregistered ) |
|
protectedvirtual |
◆ OnControllerRegistered()
void UST_AudioControlManagerBase::OnControllerRegistered |
( |
FST_AudioController | Controller, |
|
|
bool | bFirstControllerRegistered ) |
|
protectedvirtual |
◆ OnManagedItemDeregistered()
void UST_AudioControlManagerBase::OnManagedItemDeregistered |
( |
UObject * | ManagedItem, |
|
|
bool | bAllManagedItemDeregistered ) |
|
protectedvirtual |
◆ OnManagedItemRegistered()
void UST_AudioControlManagerBase::OnManagedItemRegistered |
( |
UObject * | ManagedItem, |
|
|
bool | bFirstManagedItemRegistered ) |
|
protectedvirtual |
◆ RegisterController()
Registers an audio controller with the subsystem.
- Parameters
-
Controller | The audio controller to register. |
- Returns
- True if registration was successful; false otherwise.
◆ RegisterManagedItem()
bool UST_AudioControlManagerBase::RegisterManagedItem |
( |
UObject * | ManagedItem | ) |
|
Registers a managed item with the subsystem.
- Parameters
-
ManagedItem | The UObject to register. |
- Returns
- True if registration was successful; false otherwise.
The documentation for this class was generated from the following files:
- H:/Games/Unreal/Aaron/FunWithShaders/Plugins/ST_VJMaster/Source/ST_AudioControl/Public/Main/Base/ST_AudioControlManagerBase.h
- H:/Games/Unreal/Aaron/FunWithShaders/Plugins/ST_VJMaster/Source/ST_AudioControl/Private/Main/Base/ST_AudioControlManagerBase.cpp