![]() |
Oyranos
git-devel
Oyranos is a full featured Color Management System
|
Node connection descriptor. More...
#include <oyConnectorImaging_s.h>


Public Member Functions | |
| OYAPI oyConnectorImaging_s *OYEXPORT | oyConnectorImaging_New (oyObject_s object) |
| allocate a new ConnectorImaging object More... | |
| OYAPI oyConnectorImaging_s *OYEXPORT | oyConnectorImaging_Copy (oyConnectorImaging_s *connectorimaging, oyObject_s object) |
| Copy or Reference a ConnectorImaging object. More... | |
| OYAPI int OYEXPORT | oyConnectorImaging_Release (oyConnectorImaging_s **connectorimaging) |
| release and possibly deallocate a oyConnectorImaging_s object More... | |
| OYAPI int OYEXPORT | oyConnectorImaging_SetDataTypes (oyConnectorImaging_s *c, oyDATATYPE_e *data_types, int data_types_n) |
| Set data types capability of oyConnectorImaging_s. More... | |
| OYAPI int OYEXPORT | oyConnectorImaging_GetDataTypes (oyConnectorImaging_s *c, const oyDATATYPE_e **data_types, int *data_types_n) |
| Get capabilities of oyConnectorImaging_s. More... | |
| OYAPI int OYEXPORT | oyConnectorImaging_GetChannelTypes (oyConnectorImaging_s *c, const oyCHANNELTYPE_e **channel_types, int *channel_types_n) |
| Get capabilities of oyConnectorImaging_s. More... | |
| OYAPI int OYEXPORT | oyConnectorImaging_GetCapability (oyConnectorImaging_s *c, oyCONNECTOR_IMAGING_CAP_e type) |
| Get capabilities of oyConnectorImaging_s. More... | |
| OYAPI int OYEXPORT | oyConnectorImaging_SetCapability (oyConnectorImaging_s *c, oyCONNECTOR_IMAGING_CAP_e type, int value) |
| Set capabilities of oyConnectorImaging_s. More... | |
| OYAPI int OYEXPORT | oyConnectorImaging_SetTexts (oyConnectorImaging_s *obj, oyCMMGetText_f getText, const char **text_classes) |
| set the texts in a connector More... | |
| OYAPI const char **OYEXPORT | oyConnectorImaging_GetTexts (oyConnectorImaging_s *obj) |
| get the text classes in a connector More... | |
| OYAPI const char *OYEXPORT | oyConnectorImaging_GetText (oyConnectorImaging_s *obj, const char *name_class, oyNAME_e type) |
| get the names in a connector More... | |
| int | oyConnectorImaging_IsPlug (oyConnectorImaging_s *obj) |
| Is this connector a plug or a socket. More... | |
| int | oyConnectorImaging_SetIsPlug (oyConnectorImaging_s *obj, int is_plug) |
| Set this connector as a plug or a socket. More... | |
| const char * | oyConnectorImaging_GetReg (oyConnectorImaging_s *obj) |
| Get the registration for the connection type. More... | |
| int | oyConnectorImaging_SetReg (oyConnectorImaging_s *obj, const char *type_registration) |
| Set this connectors type string. More... | |
| int | oyConnectorImaging_SetMatch (oyConnectorImaging_s *obj, oyCMMFilterSocket_MatchPlug_f func) |
| Set this connectors type check function. More... | |
| oyCMMFilterSocket_MatchPlug_f | oyConnectorImaging_GetMatch (oyConnectorImaging_s *obj) |
| Set this connectors type check function. More... | |
| void | oyConnectorImaging_Release__Members (oyConnectorImaging_s_ *connectorimaging) |
| Custom ConnectorImaging destructor. More... | |
| int | oyConnectorImaging_Init__Members (oyConnectorImaging_s_ *connectorimaging) |
| Custom ConnectorImaging constructor. More... | |
| int | oyConnectorImaging_Copy__Members (oyConnectorImaging_s_ *dst, oyConnectorImaging_s_ *src) |
| Custom ConnectorImaging copy constructor. More... | |
| int | oyFilterSocket_MatchImagingPlug (oyFilterSocket_s *socket, oyFilterPlug_s *plug) |
| verify connectors matching each other More... | |
Public Member Functions inherited from oyConnector_s | |
| OYAPI oyConnector_s *OYEXPORT | oyConnector_New (oyObject_s object) |
| allocate a new Connector object More... | |
| OYAPI oyConnector_s *OYEXPORT | oyConnector_Copy (oyConnector_s *connector, oyObject_s object) |
| Copy or Reference a Connector object. More... | |
| OYAPI int OYEXPORT | oyConnector_Release (oyConnector_s **connector) |
| release and possibly deallocate a oyConnector_s object More... | |
| OYAPI int OYEXPORT | oyConnector_SetTexts (oyConnector_s *obj, oyCMMGetText_f getText, const char **text_classes) |
| set the texts in a connector More... | |
| OYAPI const char **OYEXPORT | oyConnector_GetTexts (oyConnector_s *obj) |
| get the text classes in a connector More... | |
| OYAPI const char *OYEXPORT | oyConnector_GetText (oyConnector_s *obj, const char *name_class, oyNAME_e type) |
| get the names in a connector More... | |
| int | oyConnector_IsPlug (oyConnector_s *obj) |
| Is this connector a plug or a socket. More... | |
| int | oyConnector_SetIsPlug (oyConnector_s *obj, int is_plug) |
| Set this connector as a plug or a socket. More... | |
| const char * | oyConnector_GetReg (oyConnector_s *obj) |
| Get the registration for the connection type. More... | |
| int | oyConnector_SetReg (oyConnector_s *obj, const char *type_registration) |
| Set this connectors type string. More... | |
| int | oyConnector_SetMatch (oyConnector_s *obj, oyCMMFilterSocket_MatchPlug_f func) |
| Set this connectors type check function. More... | |
| oyCMMFilterSocket_MatchPlug_f | oyConnector_GetMatch (oyConnector_s *obj) |
| Set this connectors type check function. More... | |
| void | oyConnector_Release__Members (oyConnector_s_ *connector) |
| Custom Connector destructor. More... | |
| int | oyConnector_Init__Members (oyConnector_s_ *connector) |
| Custom Connector constructor. More... | |
| int | oyConnector_Copy__Members (oyConnector_s_ *dst, oyConnector_s_ *src) |
| Custom Connector copy constructor. More... | |
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... | |
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... | |
Data Fields inherited from oyConnector_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... | |
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... | |
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.
| OYAPI oyConnectorImaging_s *OYEXPORT oyConnectorImaging_Copy | ( | oyConnectorImaging_s * | connectorimaging, |
| oyObject_s | object | ||
| ) |
Copy or Reference a ConnectorImaging object.
Function oyConnectorImaging_Copy
The function is for copying and for referencing. The reference is the most often used way, which saves resourcs and time.
| [in] | connectorimaging | ConnectorImaging struct object |
| object | NULL - means reference, the optional object triggers a real copy |
| int oyConnectorImaging_Copy__Members | ( | oyConnectorImaging_s_ * | dst, |
| oyConnectorImaging_s_ * | src | ||
| ) |
Custom ConnectorImaging copy constructor.
Function oyConnectorImaging_Copy__Members
| OYAPI int OYEXPORT oyConnectorImaging_GetCapability | ( | oyConnectorImaging_s * | c, |
| oyCONNECTOR_IMAGING_CAP_e | type | ||
| ) |
Get capabilities of oyConnectorImaging_s.
Function oyConnectorImaging_GetDataTypes
Referenced by oyFilterSocket_MatchImagingPlug().
| OYAPI int OYEXPORT oyConnectorImaging_GetChannelTypes | ( | oyConnectorImaging_s * | c, |
| const oyCHANNELTYPE_e ** | channel_types, | ||
| int * | channel_types_n | ||
| ) |
Get capabilities of oyConnectorImaging_s.
Function oyConnectorImaging_GetChannelTypes
Referenced by oyFilterSocket_MatchImagingPlug().
| OYAPI int OYEXPORT oyConnectorImaging_GetDataTypes | ( | oyConnectorImaging_s * | c, |
| const oyDATATYPE_e ** | data_types, | ||
| int * | data_types_n | ||
| ) |
Get capabilities of oyConnectorImaging_s.
Function oyConnectorImaging_GetDataTypes
Referenced by oyFilterSocket_MatchImagingPlug().
| oyCMMFilterSocket_MatchPlug_f oyConnectorImaging_GetMatch | ( | oyConnectorImaging_s * | obj | ) |
Set this connectors type check function.
Function oyConnectorImaging_GetMatch
This is use as a check, if connections are possible. This allowes for a more fine grained control than the type registration.
| [in] | obj | ConnectorImaging object |
| const char * oyConnectorImaging_GetReg | ( | oyConnectorImaging_s * | obj | ) |
Get the registration for the connection type.
Function oyConnectorImaging_GetReg
This is use as a rough check, if connections are possible.
| [in] | obj | ConnectorImaging object |
| OYAPI const char *OYEXPORT oyConnectorImaging_GetText | ( | oyConnectorImaging_s * | obj, |
| const char * | name_class, | ||
| oyNAME_e | type | ||
| ) |
get the names in a connector
Function oyConnectorImaging_GetText
Get UI strings.
| [in] | obj | ConnectorImaging object |
| [in] | name_class | the names class, e.g. "name", "help" ... |
| [in] | type | the names type |
| OYAPI const char **OYEXPORT oyConnectorImaging_GetTexts | ( | oyConnectorImaging_s * | obj | ) |
get the text classes in a connector
Function oyConnectorImaging_GetTexts
Set UI strings.
| [in] | obj | ConnectorImaging object |
| int oyConnectorImaging_Init__Members | ( | oyConnectorImaging_s_ * | connectorimaging | ) |
Custom ConnectorImaging constructor.
Function oyConnectorImaging_Init__Members
| int oyConnectorImaging_IsPlug | ( | oyConnectorImaging_s * | obj | ) |
Is this connector a plug or a socket.
Function oyConnectorImaging_IsPlug
| [in] | obj | ConnectorImaging object |
| OYAPI oyConnectorImaging_s *OYEXPORT oyConnectorImaging_New | ( | oyObject_s | object | ) |
allocate a new ConnectorImaging object
Function oyConnectorImaging_New
| OYAPI int OYEXPORT oyConnectorImaging_Release | ( | oyConnectorImaging_s ** | connectorimaging | ) |
release and possibly deallocate a oyConnectorImaging_s object
Function oyConnectorImaging_Release
| [in,out] | connectorimaging | ConnectorImaging struct object |
Referenced by oyFilterSocket_MatchImagingPlug().
| void oyConnectorImaging_Release__Members | ( | oyConnectorImaging_s_ * | connectorimaging | ) |
Custom ConnectorImaging destructor.
Function oyConnectorImaging_Release__Members
| OYAPI int OYEXPORT oyConnectorImaging_SetCapability | ( | oyConnectorImaging_s * | c, |
| oyCONNECTOR_IMAGING_CAP_e | type, | ||
| int | value | ||
| ) |
Set capabilities of oyConnectorImaging_s.
Function oyConnectorImaging_SetCapability
| OYAPI int OYEXPORT oyConnectorImaging_SetDataTypes | ( | oyConnectorImaging_s * | c, |
| oyDATATYPE_e * | data_types, | ||
| int | data_types_n | ||
| ) |
Set data types capability of oyConnectorImaging_s.
Function oyConnectorImaging_SetDataTypes
| c | the image connector |
| data_types | array of supported data types, const |
| data_types_n | number of elements in data_types |
| int oyConnectorImaging_SetIsPlug | ( | oyConnectorImaging_s * | obj, |
| int | is_plug | ||
| ) |
Set this connector as a plug or a socket.
Function oyConnectorImaging_SetIsPlug
| [in,out] | obj | ConnectorImaging object |
| [in] | is_plug | boolean; 0 - socket; 1 - plug |
| int oyConnectorImaging_SetMatch | ( | oyConnectorImaging_s * | obj, |
| oyCMMFilterSocket_MatchPlug_f | func | ||
| ) |
Set this connectors type check function.
Function oyConnectorImaging_SetMatch
This is use as a check, if connections are possible. This allowes for a more fine grained control than the type registration.
| [in,out] | obj | ConnectorImaging object |
| [in] | func | the check function |
| int oyConnectorImaging_SetReg | ( | oyConnectorImaging_s * | obj, |
| const char * | type_registration | ||
| ) |
Set this connectors type string.
Function oyConnectorImaging_SetReg
This is use as a rough check, if connections are possible.
| [in,out] | obj | ConnectorImaging object |
| [in] | type_registration | the registration string to describe the type |
| OYAPI int OYEXPORT oyConnectorImaging_SetTexts | ( | oyConnectorImaging_s * | obj, |
| oyCMMGetText_f | getText, | ||
| const char ** | text_classes | ||
| ) |
set the texts in a connector
Function oyConnectorImaging_SetTexts
Set UI strings.
| [in] | obj | ConnectorImaging object |
| [in] | getText | the name function |
| [in] | text_classes | zero terminated list of classes, e.g. {"name",NULL} owned by the user, but has to live the lifetime of the object |
| oyStruct_Copy_f oyConnectorImaging_s::copy |
Copy function.
| oyObject_s oyConnectorImaging_s::oy_ |
Oyranos internal object.
Features name and hash. Do not change during object life time.
| oyStruct_Release_f oyConnectorImaging_s::release |
Release function.
| const oyOBJECT_e oyConnectorImaging_s::type_ |
Type of object.
The struct type tells Oyranos how to interprete hidden fields.
1.8.13