Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
osc.hpp File Reference
#include <string>
#include <vector>
#include <variant>
#include <cstdint>
#include <functional>
#include <memory>
#include <string_view>
#include <utility>

Go to the source code of this file.

Classes

struct  pulp::osc::ColorRgba
 32-bit RGBA color — the OSC 1.0 optional 'r' type tag. More...
struct  pulp::osc::Message
class  pulp::osc::Sender
struct  pulp::osc::ReceiverRoute
struct  pulp::osc::ReceiverOptions
class  pulp::osc::Receiver

Namespaces

namespace  pulp
namespace  pulp::osc

Typedefs

using pulp::osc::Argument
using pulp::osc::MessageHandler = std::function<void(const Message&)>
using pulp::osc::BundleHandler = std::function<void(const Bundle&)>
using pulp::osc::FormatErrorHandler = std::function<void(std::string_view)>

Functions

std::vector< uint8_t > pulp::osc::encode (const Message &msg)
Message pulp::osc::decode (const uint8_t *data, size_t size)

Variables

constexpr std::string_view pulp::osc::kBindLoopback = "127.0.0.1"
constexpr std::string_view pulp::osc::kBindAllInterfaces = "0.0.0.0"