Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::osc::Bundle Struct Reference

OSC Bundle — contains a timetag and a list of elements. More...

#include <bundle.hpp>

Public Member Functions

void add (Message msg)
 Add a message to the bundle.
void add (Bundle nested)
 Add a nested bundle.
std::vector< uint8_t > serialize () const
 Serialize to OSC binary format.

Static Public Member Functions

static std::optional< Bundle > deserialize (const uint8_t *data, size_t size)
 Deserialize from OSC binary.

Public Attributes

TimeTag timetag = TimeTag::immediate()
std::vector< BundleElement > elements

Detailed Description

OSC Bundle — contains a timetag and a list of elements.

Member Function Documentation

◆ add() [1/2]

void pulp::osc::Bundle::add ( Bundle nested)
inline

Add a nested bundle.

◆ add() [2/2]

void pulp::osc::Bundle::add ( Message msg)
inline

Add a message to the bundle.

◆ deserialize()

std::optional< Bundle > pulp::osc::Bundle::deserialize ( const uint8_t * data,
size_t size )
static

Deserialize from OSC binary.

◆ serialize()

std::vector< uint8_t > pulp::osc::Bundle::serialize ( ) const

Serialize to OSC binary format.

Member Data Documentation

◆ elements

std::vector<BundleElement> pulp::osc::Bundle::elements

◆ timetag

TimeTag pulp::osc::Bundle::timetag = TimeTag::immediate()

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/osc/include/pulp/osc/bundle.hpp