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
Herror T_get_next_socket_data_type(const Htuple Socket, Htuple* DataType)
void GetNextSocketDataType(const HTuple& Socket, HTuple* DataType)
HString HSocket::GetNextSocketDataType() const
def get_next_socket_data_type(socket: HHandle) -> str
Description
get_next_socket_data_typeget_next_socket_data_typeGetNextSocketDataTypeGetNextSocketDataTypeget_next_socket_data_type
returns the data type of the next
data that are present on the socket SocketSocketSocketsocketsocket
and returns it
in DataTypeDataTypeDataTypedataTypedata_type
. The possible values for DataTypeDataTypeDataTypedataTypedata_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
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
SocketSocketSocketsocketsocket
(input_control) socket →
HSocket, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Socket number.
DataTypeDataTypeDataTypedataTypedata_type
(output_control) string →
HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Data type of next HALCON data.
See also
send_imagesend_imageSendImageSendImagesend_image
,
receive_imagereceive_imageReceiveImageReceiveImagereceive_image
,
send_regionsend_regionSendRegionSendRegionsend_region
,
receive_regionreceive_regionReceiveRegionReceiveRegionreceive_region
,
send_tuplesend_tupleSendTupleSendTuplesend_tuple
,
receive_tuplereceive_tupleReceiveTupleReceiveTuplereceive_tuple
,
send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemsend_serialized_item
,
receive_serialized_itemreceive_serialized_itemReceiveSerializedItemReceiveSerializedItemreceive_serialized_item
Module
Foundation