Oyranos  git-devel
Oyranos is a full featured Color Management System
Data Fields
oyCMM_s Struct Reference

The CMM API resources struct to implement and set by a CMM. More...

#include <oyCMM_s.h>

Inheritance diagram for oyCMM_s:
Inheritance graph
Collaboration diagram for oyCMM_s:
Collaboration graph

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...
 
char cmm [8]
 
char * backend_version
 
oyCMMGetText_f getText
 
char ** texts
 
int oy_compatibility
 
oyCMMapi_sapi
 
oyIcon_sicon
 
int(* init )(oyStruct_s *library)
 
int(* reset )(oyStruct_s *library)
 
- Data Fields inherited from oyStruct_s
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...
 

Additional Inherited Members

- Public Member Functions inherited from oyStruct_s
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...
 
int oyStruct_RegisterStaticMessageFunc (int type, oyStruct_RegisterStaticMessageFunc_f msg, oyStruct_RegisterStaticFreeFunc_f free_func)
 register a function for verbosity More...
 
const char * oyStruct_GetInfo (oyPointer context_object, oyNAME_e type, int flags)
 get a additional string from a object More...
 
const char * oyStructTypeToText (oyOBJECT_e type)
 Objects type to small string. More...
 

Detailed Description

The CMM API resources struct to implement and set by a CMM.

See also
Extending Oyranos
Examples:
oyranos_cmm_oJPG.c.

Field Documentation

◆ api

oyCMMapi_s* oyCMM_s::api

must be casted to a according API, zero terminated list

Examples:
oyranos_cmm_oJPG.c.

◆ backend_version

char* oyCMM_s::backend_version

non translatable, eg "v1.17"

◆ cmm

char oyCMM_s::cmm[8]

ICC signature, eg 'lcms'

◆ copy

oyStruct_Copy_f oyCMM_s::copy

Copy function.

◆ getText

oyCMMGetText_f oyCMM_s::getText

translated, e.g. "name": "lcms" "little cms" "A CMM with 100k ..." supported should be "name", "copyright" and "manufacturer". Optional is "help".

◆ icon

oyIcon_s* oyCMM_s::icon

module icon

◆ init

int(* oyCMM_s::init) (oyStruct_s *library)

should be called before any access to members of oyCMMinfo_s

◆ oy_

oyObject_s oyCMM_s::oy_

Oyranos internal object.

Features name and hash. Do not change during object life time.

◆ oy_compatibility

int oyCMM_s::oy_compatibility

last supported Oyranos CMM API : OYRANOS_VERSION

◆ release

oyStruct_Release_f oyCMM_s::release

Release function.

◆ reset

int(* oyCMM_s::reset) (oyStruct_s *library)

may be called after last access to members of oyCMMinfo_s

◆ texts

char** oyCMM_s::texts

zero terminated list for getText

◆ type_

const oyOBJECT_e oyCMM_s::type_

Type of object.

oyOBJECT_CMM_INFO_S The struct type tells Oyranos how to interprete hidden fields.