#include <si_sha/autopkt.h>
Public Attributes | |
sc_rep | _rep |
struct { | |
s_uint8 * buffer_ | |
s_uint8 * top_ | |
s_int32 capacity_ | |
s_int32 size_ | |
s_bool own_ | |
} | priv_ |
This packet object is a general purpose data container for the various types of automation networks. It functions like a stack (LIFO), and access to the object and the data it contains is available from both JavaScript and C.
Packets are typically pointer-handled.
s_uint8* sc_automationPacket::buffer_ |
Byte storage for packet data.
s_int32 sc_automationPacket::capacity_ |
Total capacity of the packet object.
s_bool sc_automationPacket::own_ |
Should packet release buffer on destruct.
struct { ... } sc_automationPacket::priv_ |
All members in priv_ are considered private.
s_int32 sc_automationPacket::size_ |
Amount of data currently in packet.
s_uint8* sc_automationPacket::top_ |
Current position of the 'top' of the stack.