ClassesClasses | | Operators

get_next_socket_data_typeT_get_next_socket_data_typeGetNextSocketDataTypeGetNextSocketDataType (Operator)

Name

get_next_socket_data_typeT_get_next_socket_data_typeGetNextSocketDataTypeGetNextSocketDataType — 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()

Description

get_next_socket_data_typeget_next_socket_data_typeGetNextSocketDataTypeGetNextSocketDataTypeGetNextSocketDataType returns the data type of the next data that are present on the socket SocketSocketSocketSocketsocket and returns it in DataTypeDataTypeDataTypeDataTypedataType. The possible values for DataTypeDataTypeDataTypeDataTypedataType 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

SocketSocketSocketSocketsocket (input_control)  socket_id HSocket, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Socket number.

DataTypeDataTypeDataTypeDataTypedataType (output_control)  string HTupleHTupleHtuple (string) (string) (HString) (char*)

Data type of next HALCON data.

See also

send_imagesend_imageSendImageSendImageSendImage, receive_imagereceive_imageReceiveImageReceiveImageReceiveImage, send_regionsend_regionSendRegionSendRegionSendRegion, receive_regionreceive_regionReceiveRegionReceiveRegionReceiveRegion, send_tuplesend_tupleSendTupleSendTupleSendTuple, receive_tuplereceive_tupleReceiveTupleReceiveTupleReceiveTuple, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem, receive_serialized_itemreceive_serialized_itemReceiveSerializedItemReceiveSerializedItemReceiveSerializedItem

Module

Foundation


ClassesClasses | | Operators