Herror ::get_next_socket_data_type (
    const HTuple &Socket,
    char *DataType
)

Determine the HALCON data type of the next socket data.

::get_next_socket_data_type returns the data type of the next data that are present on the socket Socket and returns it in DataType. The possible values for DataType are:

'no_data'         No data are present.

'no_halcon_data'  Some data are present, but they are no 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.


Parameters

Socket (input_control)
socket_id -> HTuple.long
Socket number.

DataType (output_control)
string -> char *
Data type of next HALCON data.


See also

::send_image, ::receive_image, ::send_region, ::receive_region, ::send_tuple, ::receive_tuple


Module

System



Copyright © 1996-2002 MVTec Software GmbH