JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
juce::OSCBundle::Element Class Reference

An OSC bundle element. More...

#include "juce_OSCBundle.h"

Public Member Functions

 Element (OSCMessage message)
 Constructs an OSCBundle Element from an OSCMessage.
 
 Element (OSCBundle bundle)
 Constructs an OSCBundle Element from an OSCBundle.
 
 Element (const Element &other)
 Copy constructor.
 
 ~Element ()
 Destructor.
 
bool isMessage () const noexcept
 Returns true if the OSCBundle element is an OSCMessage.
 
bool isBundle () const noexcept
 Returns true if the OSCBundle element is an OSCBundle.
 
const OSCMessagegetMessage () const
 Returns a reference to the contained OSCMessage.
 
const OSCBundlegetBundle () const
 Returns a reference to the contained OSCBundle.
 

Detailed Description

An OSC bundle element.

An OSCBundle Element contains either one OSCMessage or one OSCBundle.

Definition at line 66 of file juce_OSCBundle.h.

Constructor & Destructor Documentation

◆ Element() [1/3]

juce::OSCBundle::Element::Element ( OSCMessage  message)

Constructs an OSCBundle Element from an OSCMessage.

Definition at line 41 of file juce_OSCBundle.cpp.

◆ Element() [2/3]

juce::OSCBundle::Element::Element ( OSCBundle  bundle)

Constructs an OSCBundle Element from an OSCBundle.

Definition at line 46 of file juce_OSCBundle.cpp.

◆ Element() [3/3]

juce::OSCBundle::Element::Element ( const Element other)

Copy constructor.

Definition at line 52 of file juce_OSCBundle.cpp.

◆ ~Element()

juce::OSCBundle::Element::~Element ( )

Destructor.

Definition at line 67 of file juce_OSCBundle.cpp.

Member Function Documentation

◆ getBundle()

const OSCBundle & juce::OSCBundle::Element::getBundle ( ) const

Returns a reference to the contained OSCBundle.

If the OSCBundle element is not an OSCBundle, behaviour is undefined.

Definition at line 98 of file juce_OSCBundle.cpp.

◆ getMessage()

const OSCMessage & juce::OSCBundle::Element::getMessage ( ) const

Returns a reference to the contained OSCMessage.

If the OSCBundle element is not an OSCMessage, behaviour is undefined.

Definition at line 85 of file juce_OSCBundle.cpp.

◆ isBundle()

bool juce::OSCBundle::Element::isBundle ( ) const
noexcept

Returns true if the OSCBundle element is an OSCBundle.

Definition at line 79 of file juce_OSCBundle.cpp.

◆ isMessage()

bool juce::OSCBundle::Element::isMessage ( ) const
noexcept

Returns true if the OSCBundle element is an OSCMessage.

Definition at line 74 of file juce_OSCBundle.cpp.


The documentation for this class was generated from the following files: