LV2 Toolkit  1.2.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
State< Required >::I< Derived > Struct Template Reference
Collaboration diagram for State< Required >::I< Derived >:
Collaboration graph
[legend]

Public Member Functions

bool check_ok ()
 
StateStatus save (StateStore &store, uint32_t flags, const FeatureVec &features)
 
StateStatus restore (StateRetrieve &retrieve, uint32_t flags, const FeatureVec &features)
 

Static Public Member Functions

static void map_feature_handlers (FeatureHandlerMap &hmap)
 
static void handle_make_feature (void *instance, FeatureData data)
 
static const void * extension_data (const char *uri)
 

Protected Member Functions

char * path (const char *path)
 

Static Protected Member Functions

static LV2_State_Status _save (LV2_Handle instance, LV2_State_Store_Function store, LV2_State_Handle handle, uint32_t flags, const LV2_Feature *const *features)
 
static LV2_State_Status _restore (LV2_Handle instance, LV2_State_Retrieve_Function retrieve, LV2_State_Handle handle, uint32_t flags, const LV2_Feature *const *features)
 

Protected Attributes

LV2_State_Make_Path * p_make_path
 

Member Function Documentation

static LV2_State_Status _restore ( LV2_Handle  instance,
LV2_State_Retrieve_Function  retrieve,
LV2_State_Handle  handle,
uint32_t  flags,
const LV2_Feature *const *  features 
)
inlinestaticprotected

Initialize a state retrieval callable

Populate a feature vector

static void map_feature_handlers ( FeatureHandlerMap hmap)
inlinestatic

Setup makePath here. mapPath is intended for use in LV2_State_Interface methods only

char* path ( const char *  path)
inlineprotected

Return a path the plugin may use to create a new file.

Parameters
pathThe path of the new file within a namespace unique to this plugin instance.
Returns
The absolute path to use for the new file.
Note
This method is provided during instantiation, so it is ok to use it at any time.

The caller is responsible for freeing the returned value with free().


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