|
LV2 Toolkit
1.2.0
|
#include <atom.hpp>

Public Member Functions | |
| AtomForge () | |
| AtomForge (LV2_URID_Map *map) | |
| void | init (LV2_URID_Map *map) |
| LV2_Atom_Forge * | cobj () |
| ForgeRef | sequence_head (ForgeFrame &frame, uint32_t unit) |
| operator LV2_Atom_Forge * () | |
| void | set_buffer (uint8_t *buf, uint32_t size) |
| ForgeRef | beat_time (double beats) |
| ForgeRef | frame_time (int64_t frames) |
| ForgeRef | property_head (uint32_t key, uint32_t context) |
| void | pop (ForgeFrame &frame) |
| ForgeRef | write_atom (uint32_t size, uint32_t type) |
| ForgeRef | write_path (const std::string &path) |
| ForgeRef | write_resource (ForgeFrame &frame, uint32_t id, uint32_t otype) |
| ForgeRef | write_blank (ForgeFrame &frame, uint32_t id, uint32_t otype) |
| ForgeRef | write_bool (const bool val) |
| ForgeRef | write_int (const int val) |
| ForgeRef | write_float (const float val) |
| ForgeRef | write_long (const int64_t val) |
| ForgeRef | write_string (const char *str) |
| ForgeRef | write_uri (const char *uri) |
| ForgeRef | write_raw (const void *data, uint32_t size) |
| ForgeRef | write_urid (LV2_URID id) |
Class wrapper around LV2_Atom_Forge
|
inline |
Uninitialized AtomForge.
|
inline |
Initialized AtomForge.
| map | The LV2_URID_Map to use for initialization |
|
inline |
Forge frame time (in a sequence)
|
inline |
Get the underlying atom forge
|
inline |
Forge frame time (in a sequence). The returned ForgeRef is to an LV2_Atom_Event
|
inline |
Initialize the underlying atom forge
| map | The mapping function needed for init |
|
inline |
Pop a forge frame
| frame | The frame to pop |
|
inline |
Forge a property header
| key | The URID for the key |
| context | The context |
|
inline |
Forge the header of a sequence
|
inline |
Set the forge's buffer
| buf | The buffer to use |
| size | The size of the buffer |
|
inline |
Write an atom header
| size | The atom's body size |
| type | The atom's body type |
|
inline |
Forge a blank object
| frame | |
| id | |
| otype |
|
inline |
Forge a boolean value
| val | The value to write |
|
inline |
Forge a float value
| val | The value to write |
|
inline |
Forge an integeger value
| val | The value to write |
|
inline |
Forge a long integer value
| val | The value to write |
|
inline |
|
inline |
Forge raw data
| data | The data to write |
| size | The size in bytes of data |
|
inline |
|
inline |
Forge a string value
| val | The value to write |
|
inline |
Forge a uri value
| val | The value to write |
1.8.11