struct used to hold an OSC message that will be written or read.
check if the path matches the supplied path pattern , according to the OSC spec pattern rules ('*' and '//' wildcards, '{}' alternatives, brackets etc)
read unaligned bytes into a POD type, assuming the bytes are a little endian representation
oscLength includes the argument length and the type flag length
stored a POD type into an unaligned bytes array, using little endian representation
check if the path matches the beginning of pattern
Peel the top-most osc container/method from the osc address. The address is null terminated and must start with a forward slash. address will point to the next forward slash or null. '/'.
Implements a tree of Osc functions in a hiearchy. Used to lookup functions via an OscAddress.
OSC timetag stuff, the highest 32-bit are seconds, the lowest are fraction of a second.
There are basically 3 classes of interest: - oscpkt::Message : read/write the content of an OSC message - oscpkt::PacketReader : read the bundles/messages embedded in an OSC packet - oscpkt::PacketWriter : write bundles/messages into an OSC packet
And optionaly: - oscpkt::UdpSocket : read/write OSC packets over UDP.
@example: oscpkt_demo.cc @example: oscpkt_test.cc
@mainpage OSCPKT : a minimalistic OSC ( http://opensoundcontrol.org ) c++ library
Before using this file please take the time to read the OSC spec, it is short and not complicated: http://opensoundcontrol.org/spec-1_0
Features: - handles basic OSC types: TFihfdsb - handles bundles - handles OSC pattern-matching rules (wildcards etc in message paths) - portable on win / macos / linux - robust wrt malformed packets - optional udp transport for packets - concise, all in a single .h file - does not throw exceptions
does not: - take into account timestamp values. - provide a cpu-scalable message dispatching. - not suitable for use inside a realtime thread as it allocates memory when building or reading messages.