Navigation
API > API/Plugins > API/Plugins/OSC
| Name | UOSCManager |
| Type | class |
| Header File | /Engine/Plugins/Runtime/OSC/Source/OSC/Public/OSCManager.h |
| Include Path | #include "OSCManager.h" |
Syntax
UCLASS ()
class UOSCManager : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UOSCManager
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FOSCMessage & AddAddress
(
FOSCMessage& Message, |
Adds address (packed as string) value to end of OSCMessage | OSCManager.h |
|
static FOSCMessage & AddBlob
(
FOSCMessage& Message, |
Adds blob value to end of OSCMessage | OSCManager.h |
|
static FOSCMessage & AddBool
(
FOSCMessage& Message, |
Adds boolean value to end of OSCMessage | OSCManager.h |
|
static FOSCBundle & AddBundleToBundle
(
const FOSCBundle& InBundle, |
Adds bundle packet to bundle. | OSCManager.h |
|
static FOSCMessage & AddFloat
(
FOSCMessage& Message, |
Adds float value to end of OSCMessage | OSCManager.h |
|
static FOSCMessage & AddInt32
(
FOSCMessage& Message, |
Adds Int32 value to end of OSCMessage | OSCManager.h |
|
static FOSCMessage & AddInt64
(
FOSCMessage& Message, |
Adds Int64 value to end of OSCMessage | OSCManager.h |
|
static FOSCBundle & AddMessageToBundle
(
const FOSCMessage& Message, |
Adds provided message packet to bundle. | OSCManager.h |
|
static FOSCMessage & AddString
(
FOSCMessage& Message, |
Adds string value to end of OSCMessage | OSCManager.h |
|
static FOSCBundle & ClearBundle
(
FOSCBundle& Bundle |
Clears provided bundle of all internal messages/bundle packets. | OSCManager.h |
|
static FOSCMessage & ClearMessage
(
FOSCMessage& Message |
Clears provided message of all arguments. | OSCManager.h |
|
static FOSCAddress & ClearOSCAddressContainers
(
FOSCAddress& Address |
Clears containers of OSC Address provided | OSCManager.h |
|
static FOSCAddress ConvertStringToOSCAddress
(
const FString& String |
Converts string to OSC Address | OSCManager.h |
|
static UOSCClient * CreateOSCClient
(
FString SendIPAddress, |
Creates an OSC Client. If SendIPAddress left empty (or '0') attempts to use LocalHost IP address. | OSCManager.h |
|
static UOSCServer * CreateOSCServer
(
FString ReceiveIPAddress, |
Creates an OSC Server. | OSCManager.h |
|
static UObject * FindObjectAtOSCAddress
(
const FOSCAddress& Address |
Finds an object with the given OSC Address in path form, where containers correspond to path folders and the the address method to the object's name. | OSCManager.h |
|
static bool GetAddress
(
const FOSCMessage& Message, |
Sets Value to address at provided Index in OSCMessage if in bounds and OSC type matches 'String' (Does NOT return address of message, rather string packed in message and casts to OSC address). | OSCManager.h |
|
static void GetAllAddresses
(
const FOSCMessage& Message, |
Returns all strings that are valid address paths in order received from OSCMessage (Does NOT include address of message, just strings packed in message that are valid paths). | OSCManager.h |
|
static void GetAllBools
(
const FOSCMessage& Message, |
Returns all boolean values in order of received from OSCMessage | OSCManager.h |
|
static void GetAllFloats
(
const FOSCMessage& Message, |
Returns all float values in order of received from OSCMessage | OSCManager.h |
|
static void GetAllInt32s
(
const FOSCMessage& Message, |
Returns all integer values in order of received from OSCMessage | OSCManager.h |
|
static void GetAllInt64s
(
const FOSCMessage& Message, |
Returns all Int64 values in order of received from OSCMessage | OSCManager.h |
|
static void GetAllStrings
(
const FOSCMessage& Message, |
Returns all string values in order of received from OSCMessage | OSCManager.h |
|
static bool GetBlob
(
const FOSCMessage& Message, |
Sets Value to blob at provided Index from OSCMessage if in bounds and type matches | OSCManager.h |
|
static bool GetBool
(
const FOSCMessage& Message, |
Sets Value to boolean at provided Index from OSCMessage if in bounds and type matches | OSCManager.h |
|
static TArray< FOSCBundle > GetBundlesFromBundle
(
const FOSCBundle& Bundle |
Fills array with child bundles found in bundle. | OSCManager.h |
|
static bool GetFloat
(
const FOSCMessage& Message, |
Set Value to float at provided Index in OSCMessage if in bounds and type matches | OSCManager.h |
|
static bool GetInt32
(
const FOSCMessage& Message, |
Set Value to integer at provided Index in OSCMessage if in bounds and type matches | OSCManager.h |
|
static bool GetInt64
(
const FOSCMessage& Message, |
Set Value to Int64 at provided Index in OSCMessage if in bounds and type matches | OSCManager.h |
|
static FOSCMessage GetMessageFromBundle
(
const FOSCBundle& Bundle, |
Returns message found in bundle at ordered index. | OSCManager.h |
|
static TArray< FOSCMessage > GetMessagesFromBundle
(
const FOSCBundle& Bundle |
Fills array with messages found in bundle. | OSCManager.h |
|
static FString GetOSCAddressContainer
(
const FOSCAddress& Address, |
Returns the OSC Address container at the provided 'Index.' Returns empty string if index is out-of-bounds. | OSCManager.h |
|
static FString GetOSCAddressContainerPath
(
const FOSCAddress& Address |
Returns full path of OSC address in the form '/Container1/Container2/Method' | OSCManager.h |
|
static TArray< FString > GetOSCAddressContainers
(
const FOSCAddress& Address |
Builds referenced array of address of containers in order | OSCManager.h |
|
static FString GetOSCAddressFullPath
(
const FOSCAddress& Address |
Returns full path of OSC address in the form '/Container1/Container2' | OSCManager.h |
|
static FString GetOSCAddressMethod
(
const FOSCAddress& Address |
Returns method name of OSC Address provided | OSCManager.h |
|
static FOSCAddress GetOSCMessageAddress
(
const FOSCMessage& Message |
Returns copy of message's OSC Address | OSCManager.h |
|
static bool GetString
(
const FOSCMessage& Message, |
Set Value to string at provided Index in OSCMessage if in bounds and type matches | OSCManager.h |
|
static FString ObjectPathFromOSCAddress
(
const FOSCAddress& Address |
Converts OSC Address to an object path. | OSCManager.h |
|
static FOSCAddress OSCAddressFromObjectPath
(
UObject* Object |
Converts object path to OSC Address, converting folders to address containers and the object's name to the address method. | OSCManager.h |
|
static FOSCAddress OSCAddressFromObjectPathString
(
const FString& PathName |
Converts object path string to OSC Address, converting folders to address containers and the object's name to the address method. | OSCManager.h |
|
static bool OSCAddressIsValidPath
(
const FOSCAddress& Address |
Returns whether OSC Address is valid path | OSCManager.h |
|
static bool OSCAddressIsValidPattern
(
const FOSCAddress& Address |
Returns whether OSC Address is valid pattern to match against | OSCManager.h |
|
static bool OSCAddressPathMatchesPattern
(
const FOSCAddress& Pattern, |
Returns if address pattern matches the provided address path. | OSCManager.h |
|
static FString OSCAddressPopContainer
(
FOSCAddress& Address |
Pops container from ordered array of containers. If no containers, returns empty string | OSCManager.h |
|
static TArray< FString > OSCAddressPopContainers
(
FOSCAddress& Address, |
Pops container from ordered array of containers. | OSCManager.h |
|
static FOSCAddress & OSCAddressPushContainer
(
FOSCAddress& Address, |
Pushes container onto address' ordered array of containers | OSCManager.h |
|
static FOSCAddress & OSCAddressPushContainers
(
FOSCAddress& Address, |
Pushes container onto address' ordered array of containers | OSCManager.h |
|
static FOSCAddress & OSCAddressRemoveContainers
(
FOSCAddress& Address, |
Remove containers from ordered array of containers at index up to count of containers. | OSCManager.h |
|
static FOSCAddress & SetOSCAddressMethod
(
FOSCAddress& Address, |
Sets the method name of the OSC Address provided | OSCManager.h |
|
static FOSCMessage & SetOSCMessageAddress
(
FOSCMessage& Message, |
Sets the OSC Address of the provided message | OSCManager.h |
|