LV2 Toolkit  1.2.0
Public Member Functions | List of all members
StateStore Struct Reference

#include <state.hpp>

Public Member Functions

 StateStore (LV2_State_Store_Function ssfunc, LV2_State_Handle handle)
 
StateStatus operator() (uint32_t key, const void *value, size_t size, uint32_t type, uint32_t flags=0) const
 

Detailed Description

Wrapper struct for state storage. This wraps an LV2_State_Store_Function and exeucutes via operator ()

Examples:
silence.cpp.

Member Function Documentation

StateStatus operator() ( uint32_t  key,
const void *  value,
size_t  size,
uint32_t  type,
uint32_t  flags = 0 
) const
inline

Execute the store functor.

Parameters
key
value
size
type
flags
Returns
STATE_SUCCESS on Success

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