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

#include <state.hpp>

Public Member Functions

 StateRetrieve (LV2_State_Retrieve_Function srfunc, LV2_State_Handle handle)
 
const void * operator() (uint32_t key, size_t *size=NULL, uint32_t *type=NULL, uint32_t *flags=NULL) const
 

Detailed Description

Wrapper struct for state retrieval. This wraps an LV2_State_Retrieve_Function and exeucutes via operator ()

Examples:
silence.cpp.

Member Function Documentation

const void* operator() ( uint32_t  key,
size_t *  size = NULL,
uint32_t *  type = NULL,
uint32_t *  flags = NULL 
) const
inline

Execute the retrieve functor.

Parameters
key
size
type
flags
Returns
Associate 'value' data for the given key

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