Component2BridgeFactory typedef

Component2BridgeFactory = Component2Bridge Function(Component2 component)

A function that returns a bridge instance for use with a given component.

Where possible, it is recommended to avoid creating bridge objects unnecessarily, and instead reuse a const instance.

See Component2BridgeImpl.bridgeFactory for an example.

Implementation

typedef Component2BridgeFactory = Component2Bridge Function(Component2 component);