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 OSCMessage & | getMessage () const |
Returns a reference to the contained OSCMessage. | |
const OSCBundle & | getBundle () const |
Returns a reference to the contained OSCBundle. | |
An OSC bundle element.
An OSCBundle Element contains either one OSCMessage or one OSCBundle.
OSCBundle::Element::Element | ( | OSCMessage | message | ) |
Constructs an OSCBundle Element from an OSCMessage.
OSCBundle::Element::Element | ( | const Element & | other | ) |
Copy constructor.
OSCBundle::Element::~Element | ( | ) |
Destructor.
|
noexcept |
Returns true if the OSCBundle element is an OSCMessage.
|
noexcept |
const OSCMessage & OSCBundle::Element::getMessage | ( | ) | const |
Returns a reference to the contained OSCMessage.
If the OSCBundle element is not an OSCMessage, behaviour is undefined.
const OSCBundle & OSCBundle::Element::getBundle | ( | ) | const |