![]() |
Oyranos Colour Management System API |
node connection descriptor More...
#include <oyranos_cmm.h>


Data Fields | |
| oyStruct_Copy_f | copy |
| oyStruct_Release_f | release |
| oyCMMGetText_f | getText |
| const char ** | texts |
| char * | connector_type |
| oyCMMFilterSocket_MatchPlug_f | filterSocket_MatchPlug |
| int | is_plug |
| oyDATATYPE_e * | data_types |
| int | data_types_n |
| int | can_planar |
| int | can_interwoven |
| int | can_swap |
| int | can_swap_bytes |
| int | can_revert |
| int | can_subpixel |
| oyCHANNELTYPE_e * | channel_types |
| int | channel_types_n |
| int | id |
Data Fields inherited from oyConnector_s | |
Additional Inherited Members | |
Public Member Functions inherited from oyConnector_s | |
| OYAPI oyConnector_s *OYEXPORT | oyConnector_New (oyObject_s object) |
| allocate a new Connector object | |
| OYAPI oyConnector_s *OYEXPORT | oyConnector_Copy (oyConnector_s *obj, oyObject_s object) |
| copy or reference a Connector object | |
| OYAPI int OYEXPORT | oyConnector_Release (oyConnector_s **obj) |
| release and possibly deallocate a Connector object | |
| int | oyConnector_SetName (oyConnector_s *obj, const char *string, oyNAME_e type) |
| set the names in a connector | |
| const char * | oyConnector_GetName (oyConnector_s *obj, oyNAME_e type) |
| set the names in a connector | |
| int | oyConnector_IsPlug (oyConnector_s *obj) |
| is this connector a plug or a socket | |
| int | oyConnector_SetIsPlug (oyConnector_s *obj, int is_plug) |
| Set this connector as a plug or a socket. | |
| const char * | oyConnector_GetReg (oyConnector_s *obj) |
| Get the registration for the connection type. | |
| int | oyConnector_SetReg (oyConnector_s *obj, const char *type_registration) |
| Set this connectors type string. | |
| int | oyConnector_SetMatch (oyConnector_s *obj, oyCMMFilterSocket_MatchPlug_f func) |
| Set this connectors type check function. | |
| oyCMMFilterSocket_MatchPlug_f | oyConnector_GetMatch (oyConnector_s *obj) |
| Set this connectors type check function. | |
node connection descriptor
This structure holds informations about the connection capabilities. It holds common structure members of oyFilterPlug_s and oyFilterSocket_s.
To signal a value is not initialised or does not apply, set the according integer value to -1.
| int oyConnectorImaging_s::can_interwoven |
can read continuous channels
| int oyConnectorImaging_s::can_planar |
can read separated channels
| int oyConnectorImaging_s::can_revert |
revert 1 -> 0 and 0 -> 1
| int oyConnectorImaging_s::can_subpixel |
understand subpixel order
| int oyConnectorImaging_s::can_swap |
can swap colour channels (BGR)
| int oyConnectorImaging_s::can_swap_bytes |
non host byte order
| oyCHANNELTYPE_e* oyConnectorImaging_s::channel_types |
describe which channel types the connector requires
| int oyConnectorImaging_s::channel_types_n |
count in channel_types
| char* oyConnectorImaging_s::connector_type |
The following types should have a "data" attribute in the application level as these connectors pass the imaging data.
The following types should have a "text" attribute in the application level as this connector type passes text.
Reimplemented from oyConnector_s.
| oyStruct_Copy_f oyConnectorImaging_s::copy |
copy function
Reimplemented from oyConnector_s.
| oyDATATYPE_e* oyConnectorImaging_s::data_types |
supported float's and int's
| int oyConnectorImaging_s::data_types_n |
| oyCMMFilterSocket_MatchPlug_f oyConnectorImaging_s::filterSocket_MatchPlug |
Check if two oyCMMapi7_s filter connectors of type oyConnector_s can match each other inside a given socket and a plug. For a imaging plugin just add here oyFilterSocket_MatchImagingPlug
Reimplemented from oyConnector_s.
| oyCMMGetText_f oyConnectorImaging_s::getText |
translated UI texts
Reimplemented from oyConnector_s.
| int oyConnectorImaging_s::id |
relative to oyFilterCore_s, e.g. 1 connector is mandatory or optional, important for modules
| int oyConnectorImaging_s::is_plug |
1 - make requests and receive data, by part of oyFilterPlug_s; 0 - receive requests and provide data, oyFilterSocket_s
Reimplemented from oyConnector_s.
| oyStruct_Release_f oyConnectorImaging_s::release |
release function
Reimplemented from oyConnector_s.
| const char** oyConnectorImaging_s::texts |
zero terminated categories for getText. Support at least "name", e.g. {"name",0}
The "name" texts shall include information about the connector. The oyNAME_NICK is a very small shorthand for the cnnnector. e.g. "Img" oyNAME_NAME should contain the connectors name, e.g. "Image" oyNAME_DESCRIPTION can contain some help text, e.g. "Image[PNG] File Input".
Reimplemented from oyConnector_s.