Imaging Control 4 C Library 1.2.0
Loading...
Searching...
No Matches
IC4_SINK Struct Reference

Represents a sink, allowing programmatic access to image data. More...

Detailed Description

Represents a sink, allowing programmatic access to image data.

This type is opaque, programs only use pointers of type IC4_SINK*.

The IC4_SINK* handle type is used for all sink types, there is no type casting required. The actual type of a sink object can be examined by a call to ic4_sink_get_type().

Sink objects are reference-counted, and created with an initial reference count of one. To share a sink object between multiple parts of a program, create a new reference by calling ic4_sink_ref(). When a reference is no longer required, call ic4_sink_unref().

If the sink object's internal reference count reaches zero, the sink object is destroyed.