MultiCam Boards Documentation > MultiCam Documentation > MultiCam C++ Reference > Classes > Channel Class

Channel Class

MultiCamObject Class

The Channel object represents the path from the camera to the surface, that is the image acquired in the computer memory. It performs the image acquisition.

Usually, the application creates one channel per camera. After creation, the channel is configured by setting relevant parameters with the GetParam and SetParam methods.

Once configured, the channel is activated with the SetActive method. It is stopped with the SetIdle method.

Optionally and before calling SetActive, the channel may be prepared with the Prepare method. This ensures that all time-consuming configuration operations are done and that the channel will immediately perform image acquisitions upon activation.

When active, the channel performs image acquisition. It reports its activity by executing callback functions previously registered with RegisterCallback. As an alternative, the WaitForSignal and GetSignalInfo methods may be used to synchronize with the channel activity.

The callback functions and the GetSignalInfo method report, when applicable, the Surface objects representing the images acquired in computer memory.

Surfaces correspond to EImage... objects. The synchronization between Surface and EImage... is ensured through the MultiCam functions.

Properties and Methods

Channel

Constructs a Channel object.

GetSignalInfo

Retrieves the information associated with a MultiCam signal.

Prepare

Reduces the Channel activation time by previously setting the creation and configuration parameters.

RegisterCallback

Registers the callback function for a given signal.

SetActive

Activates the channel.

SetIdle

Ends the channel acquisition sequence.

UnRegisterCallback

Unregisters the callback function for a given signal.

WaitForSignal

Waits for a MultiCam signal and provides the corresponding SignalInfo object.

Requirements

Header: MultiCamCpp.h

Namespace: Euresys::MultiCam

Platforms

See Also

MultiCamObject Class