O2 2.0
A communication protocol for interactive music and media applications.
Public Attributes | List of all members
O2message Struct Reference

an O2 message container More...

#include <o2.h>

Public Attributes

union {
   struct O2message *   next
 links used for free list and scheduler
 
   int64_t   pad_if_needed
 make sure allocated is 8-byte aligned
 
}; 
 
O2msg_data data
 

Detailed Description

an O2 message container

Note: This struct represents an O2 message that is stored on the heap. O2message is an alias for O2netmsg. At the o2n (network) abstraction, there is no O2msg_data type.

Note that O2messages are on the heap and can be allocated, scheduled, sent, and freed. In contrast, O2msg_data structures are contained within O2messages and are passed to method handlers, but cannot be allocated, scheduled, sent, or freed. They are always the data field of a containing O2message.


The documentation for this struct was generated from the following file: