provides a compile-time OSC implementation.
More...
Go to the source code of this file.
|
| #define | A(n, a) |
| | Instantiate a message address.
|
| |
| #define | T(n, s) |
| | Instantiate a message type string.
|
| |
| #define | Di(i) |
| | Instantiate a 32-bit integer message item.
|
| |
| #define | Df(ff) |
| | Instantiate a float message item.
|
| |
| #define | Dl(ll) |
| | Instantiate a 64-bit integer message item.
|
| |
| #define | Dd(dd) |
| | Instantiate a double message item.
|
| |
| #define | Dt(sec, fsec) |
| | Instantiate a timetag message item.
|
| |
| #define | Ds(n, s) |
| | Instantiate a string message item.
|
| |
| #define | Db(n, b) |
| | Instantiate a blob message item.
|
| |
| #define | BE_M(...) |
| | Instantiate a bundle element message.
|
| |
| #define | BE_B(...) |
| | Instantiate a bundle element bundle with one or more bundle elements.
|
| |
|
#define | BE_B0() |
| | Instantiate an empty bundle element bundle.
|
| |
| #define | M(...) |
| | Instantiate a top-level OSC message.
|
| |
| #define | B(...) |
| | Instantiate a top-level OSC bundle.
|
| |
provides a compile-time OSC implementation.
Instantiate a message address.
- Parameters
-
| n | the length of the address in bytes, not including any NULL padding |
| a | the address – a char array of n bytes |
Instantiate a top-level OSC bundle.
- Parameters
-
| ... | one or more bundle elements |
#define BE_M(...)
Instantiate a bundle element message.
Definition ose_test_ctosc.h:272
#define Df(ff)
Instantiate a float message item.
Definition ose_test_ctosc.h:144
#define T(n, s)
Instantiate a message type string.
Definition ose_test_ctosc.h:113
#define B(...)
Instantiate a top-level OSC bundle.
Definition ose_test_ctosc.h:339
#define A(n, a)
Instantiate a message address.
Definition ose_test_ctosc.h:102
◆ BE_B
Instantiate a bundle element bundle with one or more bundle elements.
- Parameters
-
| ... | one or more bundle elements |
◆ BE_M
Instantiate a bundle element message.
- Parameters
-
| ... | the message items. See BE_M(). |
◆ Db
Instantiate a blob message item.
- Parameters
-
| n | the number of bytes in the blob, not including any NULL padding or the blob size |
| b | the blob – a char array of n bytes |
◆ Dd
Instantiate a double message item.
- Parameters
-
| dd | the floating-point value |
◆ Df
Instantiate a float message item.
- Parameters
-
| ff | the floating-point value |
◆ Di
Instantiate a 32-bit integer message item.
- Parameters
-
◆ Dl
Instantiate a 64-bit integer message item.
Covers h and H, which libose stores as eight bytes, most significant first, the same as i but twice as wide.
- Parameters
-
◆ Ds
Instantiate a string message item.
- Parameters
-
| n | the number of bytes in the string, not including any NULL padding |
| s | the string – a char array of n bytes |
◆ Dt
Instantiate a timetag message item.
Two 32-bit halves, seconds then fraction, each most significant byte first – not one 64-bit quantity, which is why this is not Dl().
- Parameters
-
| sec | seconds |
| fsec | fractional seconds |
Instantiate a top-level OSC message.
- Parameters
-
| ... | the message items: A(), T(), followed by any mixture of Di(), Df(), Ds(), and Db() that corresponds to the contents of the types given in T() |
#define M(...)
Instantiate a top-level OSC message.
Definition ose_test_ctosc.h:321
Instantiate a message type string.
- Parameters
-
| n | the length of the typetag string in bytes, not including any NULL padding |
| s | the typetag string – a char array of n bytes |