JUCE
|
An OSC bundle element. More...
Public Member Functions | |
Element (OSCMessage message) | |
Constructs an OSCBundle Element from an OSCMessage. More... | |
Element (OSCBundle bundle) | |
Constructs an OSCBundle Element from an OSCBundle. More... | |
Element (const Element &other) | |
Copy constructor. More... | |
~Element () | |
Destructor. More... | |
bool | isMessage () const noexcept |
Returns true if the OSCBundle element is an OSCMessage. More... | |
bool | isBundle () const noexcept |
Returns true if the OSCBundle element is an OSCBundle. More... | |
const OSCMessage & | getMessage () const |
Returns a reference to the contained OSCMessage. More... | |
const OSCBundle & | getBundle () const |
Returns a reference to the contained OSCBundle. More... | |
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 |