![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
#include "common/interface.h"
Header for an interface, just the absolute necessary metadata.
Definition at line 371 of file interface.h.
Public Attributes | |
| const char * | interface |
| name of the interface (type) | |
| unsigned | version |
| major version, 0 means experimental | |
| const char * | name |
| name of this instance | |
| size_t | size |
| size of the whole interface structure (minor version) | |
| LumieraInterface | descriptor |
| metadata descriptor, itself a interface (or NULL) | |
| LumieraInterface(* | acquire )(LumieraInterface self, LumieraInterface interfaces) |
| Must be called before this interface is used. | |
| void(* | release )(LumieraInterface self) |
| called when finished using this interface must match the acquire calls | |
| const char* interface |
name of the interface (type)
Definition at line 374 of file interface.h.
Referenced by lumiera_interfaceregistry_interface_find(), and lumiera_interfaceregistry_interfacenode_find().
| unsigned version |
major version, 0 means experimental
Definition at line 377 of file interface.h.
Referenced by lumiera_interfaceregistry_interface_find(), and lumiera_interfaceregistry_interfacenode_find().
| const char* name |
name of this instance
Definition at line 380 of file interface.h.
Referenced by lumiera_interfaceregistry_interface_find(), and lumiera_interfaceregistry_interfacenode_find().
| size_t size |
size of the whole interface structure (minor version)
Definition at line 383 of file interface.h.
| LumieraInterface descriptor |
metadata descriptor, itself a interface (or NULL)
Definition at line 386 of file interface.h.
| LumieraInterface(* acquire) (LumieraInterface self, LumieraInterface interfaces) |
Must be called before this interface is used.
might be nested.
| self | pointer to the interface to be acquired |
| interfaces | pointer to a 'interfaces' interface giving plugins access to opening and closing interfaces, this is already opened and if a plugin wants to use other interfaces it has to store this pointer |
Definition at line 397 of file interface.h.
| void(* release) (LumieraInterface self) |
called when finished using this interface must match the acquire calls
| self | pointer to the interface to be released |
Definition at line 403 of file interface.h.
Collaboration diagram for lumiera_interface: