send_regionT_send_regionSendRegionSendRegionsend_region (Operator)

Name

send_regionT_send_regionSendRegionSendRegionsend_region — Send regions over a socket connection.

Signature

send_region(Region : : Socket : )

Herror T_send_region(const Hobject Region, const Htuple Socket)

void SendRegion(const HObject& Region, const HTuple& Socket)

void HSocket::SendRegion(const HRegion& Region) const

void HRegion::SendRegion(const HSocket& Socket) const

static void HOperatorSet.SendRegion(HObject region, HTuple socket)

void HSocket.SendRegion(HRegion region)

void HRegion.SendRegion(HSocket socket)

def send_region(region: HObject, socket: HHandle) -> None

Description

send_regionsend_regionSendRegionSendRegionSendRegionsend_region sends a region object over the socket connection determined by SocketSocketSocketSocketsocketsocket. The receiving HALCON process must call receive_regionreceive_regionReceiveRegionReceiveRegionReceiveRegionreceive_region to read the regions from the socket. For a detailed example, see open_socket_acceptopen_socket_acceptOpenSocketAcceptOpenSocketAcceptOpenSocketAcceptopen_socket_accept.

Execution Information

Parameters

RegionRegionRegionRegionregionregion (input_object)  region(-array) objectHRegionHObjectHRegionHobject

Regions to be sent.

SocketSocketSocketSocketsocketsocket (input_control)  socket HSocket, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Socket number.

Possible Predecessors

open_socket_connectopen_socket_connectOpenSocketConnectOpenSocketConnectOpenSocketConnectopen_socket_connect, socket_accept_connectsocket_accept_connectSocketAcceptConnectSocketAcceptConnectSocketAcceptConnectsocket_accept_connect

See also

receive_regionreceive_regionReceiveRegionReceiveRegionReceiveRegionreceive_region, send_imagesend_imageSendImageSendImageSendImagesend_image, receive_imagereceive_imageReceiveImageReceiveImageReceiveImagereceive_image, send_tuplesend_tupleSendTupleSendTupleSendTuplesend_tuple, receive_tuplereceive_tupleReceiveTupleReceiveTupleReceiveTuplereceive_tuple, get_next_socket_data_typeget_next_socket_data_typeGetNextSocketDataTypeGetNextSocketDataTypeGetNextSocketDataTypeget_next_socket_data_type

Module

Foundation