EffectGroupAdapter Class

An adapter that allows the creation of a user implemented effect group (a sub-graph of other effects).

Namespace: Lumia.Imaging.Custom
Assembly: Lumia.Imaging (in Lumia.Imaging.dll) Version: 255.255.255.255

Syntax

public sealed class EffectGroupAdapter : IClosable, 
    IImageConsumer, IImageProvider, __IEffectGroupAdapterPublicNonVirtuals
'Declaration
Public NotInheritable Class EffectGroupAdapter
    Implements IClosable, IImageConsumer, IImageProvider, __IEffectGroupAdapterPublicNonVirtuals
public ref class EffectGroupAdapter sealed : IClosable, 
    IImageConsumer, IImageProvider, __IEffectGroupAdapterPublicNonVirtuals
Lumia.Imaging.Custom.EffectGroupAdapter = function();

Type.createClass(
    'Lumia.Imaging.Custom.EffectGroupAdapter',
    null,
    Windows.Foundation.IClosable,
    Lumia.Imaging.IImageConsumer,
    Lumia.Imaging.IImageProvider,
    Lumia.Imaging.Custom.__IEffectGroupAdapterPublicNonVirtuals);

Remarks

The intended usage pattern is that the user implements an "outer class" representing the effect group. This outer class should:

  • Privately own an EffectGroupAdapter.
  • Implement IImageConsumer and propagate all method/property calls to the EffectGroupAdapter.
  • Implement IImageProvider and propagate all method/property calls to the EffectGroupAdapter.
  • Implement and handle IEffectGroup.

Note that in C#/.NET, the EffectGroupBase base class is recommended instead, as it implements this pattern. That leaves only a couple of overloads for the user class to provide. Members of this class are not guaranteed to be thread safe.

Inheritance Hierarchy

System.Object
  Lumia.Imaging.Custom.EffectGroupAdapter

Version Information

Lumia Imaging SDK

Supported in: 2.0

See Also

EffectGroupAdapter.EffectGroupAdapter Members

Lumia.Imaging.Custom Namespace