![]() |
Oyranos Color Management System API - Version 0.9.6 |
Module or script loader. More...
#include <oyCMMapi5_s.h>
Public Types | |
typedef int(* | oyCMMFilterSocket_MatchPlug_f) (oyFilterSocket_s *socket, oyFilterPlug_s *plug) |
verify connectors matching each other More... | |
![]() | |
typedef int(* | oyCMMInit_f) (oyStruct_s *filter) |
optional CMM init function More... | |
typedef int(* | oyCMMMessageFuncSet_f) (oyMessage_f message_func) |
optionaly sets a CMM message function More... | |
typedef int(* | oyCMMCanHandle_f) (oyCMMQUERY_e type, uint32_t value) |
CMM feature declaration function. More... | |
typedef int(* | oyCMMOptions_Check_f) (oyOptions_s *validate) |
a function to check options More... | |
typedef const char *(* | oyCMMGetText_f) (const char *select, oyNAME_e type, oyStruct_s *context) |
get strings from a CMM More... | |
Public Member Functions | |
OYAPI oyCMMapi5_s *OYEXPORT | oyCMMapi5_New (oyObject_s object) |
allocate a new CMMapi5 object More... | |
oyCMMapi5_Copy | |
Copy or Reference a CMMapi5 object. More... | |
OYAPI int OYEXPORT | oyCMMapi5_Release (oyCMMapi5_s **cmmapi5) |
release and possibly deallocate a oyCMMapi5_s object More... | |
void | oyCMMapi5_Release__Members (oyCMMapi5_s_ *cmmapi5) |
Custom CMMapi5 destructor. More... | |
int | oyCMMapi5_Init__Members (oyCMMapi5_s_ *cmmapi5) |
Custom CMMapi5 constructor. More... | |
int | oyCMMapi5_Copy__Members (oyCMMapi5_s_ *dst, oyCMMapi5_s_ *src) |
Custom CMMapi5 copy constructor. More... | |
int | oyFilterSocket_MatchImagingPlug (oyFilterSocket_s *socket, oyFilterPlug_s *plug) |
verify connectors matching each other More... | |
![]() | |
OYAPI oyCMMapi_s *OYEXPORT | oyCMMapi_New (oyObject_s object) |
allocate a new CMMapi object More... | |
oyCMMapi_Copy | |
Copy or Reference a CMMapi object. More... | |
OYAPI int OYEXPORT | oyCMMapi_Release (oyCMMapi_s **cmmapi) |
release and possibly deallocate a oyCMMapi_s object More... | |
void | oyCMMapi_Set (oyCMMapi_s *api, oyCMMInit_f init, oyCMMMessageFuncSet_f msg_set, const char *registration, int32_t version[3], int32_t module_api[3]) |
CMMapi member setter. More... | |
void | oyCMMapi_SetNext (oyCMMapi_s *api, oyCMMapi_s *next) |
chain CMMapi's More... | |
oyCMMapi_s * | oyCMMapi_GetNext (oyCMMapi_s *api) |
get next CMMapi More... | |
void | oyCMMapi_Release__Members (oyCMMapi_s_ *cmmapi) |
Custom CMMapi destructor. More... | |
int | oyCMMapi_Init__Members (oyCMMapi_s_ *cmmapi) |
Custom CMMapi constructor. More... | |
int | oyCMMapi_Copy__Members (oyCMMapi_s_ *dst, oyCMMapi_s_ *src) |
Custom CMMapi copy constructor. More... | |
![]() | |
const char * | oyStruct_GetTextFromModule (oyStruct_s *obj, oyNAME_e name_type, uint32_t flags) |
get object infos from a module More... | |
const char * | oyStruct_GetText (oyStruct_s *obj, oyNAME_e name_type, uint32_t flags) |
Get a text dump. More... | |
oyStruct_RegisterStaticMessageFunc | |
register a function for verbosity More... | |
oyStruct_GetInfo | |
get a additional string from a object More... | |
const char * | oyStructTypeToText (oyOBJECT_e type) |
Objects type to small string. More... | |
Data Fields | |
const oyOBJECT_e | type_ |
Type of object. More... | |
oyStruct_Copy_f | copy |
Copy function. More... | |
oyStruct_Release_f | release |
Release function. More... | |
oyObject_s | oy_ |
Oyranos internal object. More... | |
![]() | |
const oyOBJECT_e | type_ |
Type of object. More... | |
oyStruct_Copy_f | copy |
Copy function. More... | |
oyStruct_Release_f | release |
Release function. More... | |
oyObject_s | oy_ |
Oyranos internal object. More... | |
![]() | |
const oyOBJECT_e | type_ |
Type of object. More... | |
oyStruct_Copy_f | copy |
Copy function. More... | |
oyStruct_Release_f | release |
Release function. More... | |
oyObject_s | oy_ |
Oyranos internal object. More... | |
Module or script loader.
oyCMMapi5_Copy |
Copy or Reference a CMMapi5 object.
The function is for copying and for referencing. The reference is the most often used way, which saves resourcs and time.
[in] | cmmapi5 | CMMapi5 struct object |
object | NULL - means reference, the optional object triggers a real copy |
Referenced by oyCMMapi5_Copy__Members(), and oyCMMapi5_New().
int oyCMMapi5_Copy__Members | ( | oyCMMapi5_s_ * | dst, |
oyCMMapi5_s_ * | src | ||
) |
Custom CMMapi5 copy constructor.
Function oyCMMapi5_Copy__Members
References oy_debug, oyCMMapi5_Copy(), oyCMMapi5_Init__Members(), oyCMMapi5_New(), oyCMMapi5_Release(), oyCMMapi5_Release__Members(), oyCMMapi_s::oyCMMapi_Copy__Members(), oyCMMapi_s::oyCMMapi_Init__Members(), oyCMMapi_s::oyCMMapi_Release__Members(), oyNAME_NICK, oyOBJECT_CMM_API5_S, oyOBJECT_CMM_API_S, oyObject_Copy(), oyObject_GetId(), oyObject_NewFrom(), oyObject_Release(), oyObject_SetParent(), oyObject_UnRef(), oyStruct_s::oyStruct_RegisterStaticMessageFunc(), and oyStruct_s::oyStructTypeToText().
int oyCMMapi5_Init__Members | ( | oyCMMapi5_s_ * | cmmapi5 | ) |
Custom CMMapi5 constructor.
Function oyCMMapi5_Init__Members
Referenced by oyCMMapi5_Copy__Members().
OYAPI oyCMMapi5_s *OYEXPORT oyCMMapi5_New | ( | oyObject_s | object | ) |
allocate a new CMMapi5 object
Function oyCMMapi5_New
References oyCMMapi5_Copy(), oyOBJECT_CMM_API5_S, and oyOBJECT_OBJECT_S.
Referenced by oyCMMapi5_Copy__Members().
OYAPI int OYEXPORT oyCMMapi5_Release | ( | oyCMMapi5_s ** | cmmapi5 | ) |
release and possibly deallocate a oyCMMapi5_s object
Function oyCMMapi5_Release
[in,out] | cmmapi5 | CMMapi5 struct object |
References oyOBJECT_CMM_API5_S.
Referenced by oyCMMapi5_Copy__Members().
void oyCMMapi5_Release__Members | ( | oyCMMapi5_s_ * | cmmapi5 | ) |
Custom CMMapi5 destructor.
Function oyCMMapi5_Release__Members
Referenced by oyCMMapi5_Copy__Members().
oyStruct_Copy_f oyCMMapi5_s::copy |
Copy function.
oyObject_s oyCMMapi5_s::oy_ |
Oyranos internal object.
Features name and hash. Do not change during object life time.
oyStruct_Release_f oyCMMapi5_s::release |
Release function.
const oyOBJECT_e oyCMMapi5_s::type_ |
Type of object.
The struct type tells Oyranos how to interprete hidden fields.