Skip to content

TPortFactoryNotifier

Factory to create a new TNotifier port/endpoint for TMessagingPattern.Event based communication.

Definition

Unit: Neslib.Iceoryx2.Event

type TPortFactoryNotifier = record ... end;

Methods

Name Description
Create Creates a new TNotifier port or returns a TNotifierCreateError on failure.
DefaultEventId Sets a default TEventId for the TNotifier that is used in TNotifier.Notify
Name The TPortName that shall be assigned to the TNotifier. It does not have to be unique. If no TPortName is defined then the TNotifier does not have a name.

Method Descriptions

Create

Creates a new TNotifier port or returns a TNotifierCreateError on failure.

function Create: TResult<TNotifier, TNotifierCreateError>

Returns

TResult<TNotifier, TNotifierCreateError>


DefaultEventId(TEventId)

Sets a default TEventId for the TNotifier that is used in TNotifier.Notify

function DefaultEventId(const AValue: TEventId): PPortFactoryNotifier; inline

Parameters

AValue: TEventId

Returns

PPortFactoryNotifier


Name(TPortName)

The TPortName that shall be assigned to the TNotifier. It does not have to be unique. If no TPortName is defined then the TNotifier does not have a name.

function Name(const AValue: TPortName): PPortFactoryNotifier; inline

Parameters

AValue: TPortName

Returns

PPortFactoryNotifier