MultiCam Boards Documentation > MultiCam Documentation > MultiCam .NET Reference > Legacy > Classes > Channel Class > Channel.RegisterCallback Method

Channel.RegisterCallback Method

Registers the callback function for a MultiCam signal.

[C#]

void Channel.RegisterCallback(
  T *owner,
  void (T.*callbackMethod)(Euresys.MultiCam.Channel, Euresys.MultiCam.SignalInfo),
  System.Int32 signal
);

Parameters

owner

Reference to the object that contains the callback method.

(T.*callbackMethod)(Channel& ch, SignalInfo& info)

Address of the callback method.

ch: the Channel object that caused the signal.

info: SignalInfo object holding signal information.

signal

Identifier of the signal.

Description

The callback method from the object owner will be called by MultiCam each time a given signal is issued.

The callback method is executed in a dedicated thread.

See Also

Channel Class | Channel.UnRegisterCallback