Navigation
API > API/Plugins > API/Plugins/MetasoundFrontend
Specializations for trivially copyable types:
| Name | TSender |
| Type | class |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundFrontend/Public/MetasoundRouter.h |
| Include Path | #include "MetasoundRouter.h" |
Syntax
template<typename TDataType>
class TSender : public Metasound::ISender
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSender
(
const FSenderInitParams& InitParams, |
MetasoundRouter.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| BufferResizeThreshold | float | This can be changed to change when we reallocate the internal buffer for this sender. | MetasoundRouter.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bMessageDataTypeError | bool | MetasoundRouter.h | ||
| NumElementsToDelayBy | uint32 | The amount of pop operations before elements before this sender pushed appear. | MetasoundRouter.h | |
| Params | FSenderInitParams | MetasoundRouter.h | ||
| Payload | TUniquePtr< TDataType > | Lazily initialized holder for payload, allocated on first call to Push. | MetasoundRouter.h | |
| PayloadID | int64 | MetasoundRouter.h | ||
| SenderBuffer | Audio::TCircularAudioBuffer< TDataType > | This buffer acts as a delay line for this sender specifically. | MetasoundRouter.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Push
(
const TDataType& InElement |
MetasoundRouter.h | ||
bool PushToDataChannel() |
Push from the SenderBuffer to the data channel. | MetasoundRouter.h | |
TDataType RetrievePayload() |
MetasoundRouter.h | ||
bool SetDelay
(
float InSeconds |
Resets the delay for this specific sender. if this goes beyond the threshold set by BufferResizeThreshold, we reallocate. | MetasoundRouter.h |
Overridden from ISender
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int64 GetPayloadID() |
MetasoundRouter.h | ||
virtual bool PushLiteral
(
const FLiteral& InLiteral |
Constructs the value with a literal and pushes to data channel. | MetasoundRouter.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FName GetDataTypeName() |
MetasoundRouter.h |