get_next_socket_data_typeT_get_next_socket_data_typeGetNextSocketDataTypeGetNextSocketDataTypeget_next_socket_data_type (Operator)

Name

get_next_socket_data_typeT_get_next_socket_data_typeGetNextSocketDataTypeGetNextSocketDataTypeget_next_socket_data_type — Determine the HALCON data type of the next socket data.

Signature

get_next_socket_data_type( : : Socket : DataType)

Herror T_get_next_socket_data_type(const Htuple Socket, Htuple* DataType)

void GetNextSocketDataType(const HTuple& Socket, HTuple* DataType)

HString HSocket::GetNextSocketDataType() const

static void HOperatorSet.GetNextSocketDataType(HTuple socket, out HTuple dataType)

string HSocket.GetNextSocketDataType()

def get_next_socket_data_type(socket: HHandle) -> str

Description

get_next_socket_data_typeget_next_socket_data_typeGetNextSocketDataTypeGetNextSocketDataTypeGetNextSocketDataTypeget_next_socket_data_type returns the data type of the next data that are present on the socket SocketSocketSocketSocketsocketsocket and returns it in DataTypeDataTypeDataTypeDataTypedataTypedata_type. The possible values for DataTypeDataTypeDataTypeDataTypedataTypedata_type are:

'no_data':

No data are present.

'no_halcon_data':

Some data are present, but they are not HALCON data.

'tuple':

The next data is a tuple.

'region':

The next data is a region object.

'image':

The next data is an image object.

'xld_cont':

The next data is an XLD contour.

'xld_poly':

The next data is an XLD polygon.

'xld_para':

The next data is an XLD parallel.

'xld_mod_para':

The next data is a modified XLD parallel.

'xld_ext_para':

The next data is an extended XLD parallel.

'serialized_item':

The next data is a serialized item.

Execution Information

Parameters

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

Socket number.

DataTypeDataTypeDataTypeDataTypedataTypedata_type (output_control)  string HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Data type of next HALCON data.

See also

send_imagesend_imageSendImageSendImageSendImagesend_image, receive_imagereceive_imageReceiveImageReceiveImageReceiveImagereceive_image, send_regionsend_regionSendRegionSendRegionSendRegionsend_region, receive_regionreceive_regionReceiveRegionReceiveRegionReceiveRegionreceive_region, send_tuplesend_tupleSendTupleSendTupleSendTuplesend_tuple, receive_tuplereceive_tupleReceiveTupleReceiveTupleReceiveTuplereceive_tuple, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItemsend_serialized_item, receive_serialized_itemreceive_serialized_itemReceiveSerializedItemReceiveSerializedItemReceiveSerializedItemreceive_serialized_item

Module

Foundation