Navigation
API > API/Plugins > API/Plugins/OSC
References
| Module | OSC |
| Header | /Engine/Plugins/Runtime/OSC/Source/OSC/Public/OSCAddress.h |
| Include | #include "OSCAddress.h" |
Syntax
USTRUCT (BlueprintType )
struct FOSCAddress
Constructors
| Type | Name | Description | |
|---|---|---|---|
FOSCAddress () |
|||
FOSCAddress
(
const FString& InValue |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Clears ordered array of containers | ||
| FString | GetContainer
(
int32 Index |
Returns container at provided Index. If Index is out-of-bounds, returns empty string. | |
| FString | Returns container path of OSC address in the form '/Container1/Container2' | ||
| void | GetContainers
(
TArray< FString >& OutContainers |
Builds referenced array of address of containers in order | |
| FString | GetFullPath () |
Returns full path of OSC address in the form '/Container1/Container2/Method' | |
| const FString & | GetMethod () |
Get method name of address | |
| bool | GetNumericPrefix
(
int32& OutPrefix |
Returns numeric prefix of OSC method if is numeric | |
| bool | GetNumericSuffix
(
int32& OutSuffix |
Returns numeric suffix of OSC method if is numeric | |
| bool | IsValidPath () |
Returns whether address is valid path | |
| bool | Returns whether address is valid pattern | ||
| bool | Matches
(
const FOSCAddress& InAddress |
Returns if this address is a pattern that matches InAddress' path. | |
| FString | PopContainer () |
Pops container from ordered array of containers | |
| bool | PopContainer
(
FString& OutContainer |
Pops container from ordered array of containers | |
| TArray< FString > | PopContainers
(
int32 NumToPop |
Pops containers off end of address' ordered array of containers | |
| bool | PopContainers
(
int32 NumToPop, |
Pops containers off end of address' ordered array of containers | |
| bool | PushContainer
(
FString Container |
Pushes container onto end of address' ordered array of containers | |
| bool | PushContainers
(
TArray< FString > NewContainers |
Pushes containers onto end of address' ordered array of containers | |
| bool | RemoveContainers
(
int32 InIndex, |
Removes containers from container array at index until count | |
| bool | Set
(
TArray< FString > NewContainers, |
Sets the address to the given array of containers and provided method | |
| bool | SetMethod
(
FString NewMethod |
Sets the method name of address |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FOSCAddress | operator/
(
const FOSCAddress& InAddress |
||
| FOSCAddress & | operator/=
(
const FOSCAddress& InAddress |
||
| bool | operator==
(
const FOSCAddress& InAddress |