Go to the source code of this file.
◆ igtl_bind_alloc_info()
Allocates an array of igtl_bind_child_info in bind_info with length of 'ncmessages.' Returns 1 if the array is successfully allocated/freed
◆ igtl_bind_free_info()
Frees an array of igtl_bind_child_info in bind_info with length of 'ncmessages.' Returns 1 if the array is successfully allocated/freed
◆ igtl_bind_get_crc()
Calculates CRC of BIND message. Note that 'info' is used only for getting size of the message.
◆ igtl_bind_get_size()
igtl_bind_get_size() calculates the size of bind header, consisting of BIND hearder section (including number of child messages) and name table section based on a igtl_bind_header. The size returned from this function does not include size of child message data. 'type' argument specifies a message type prefix (none, GET_, STT_, STP_ or RTS_) by IGTL_TYPE_PREFIX_* macro.
◆ igtl_bind_init_info()
◆ igtl_bind_pack()
Packs BIND message. Converts an igtl_bind_info structure to a byte array. 'byte_array' should be allocated prior to calling igtl_bind_pack() with memory size calculated by igtl_bind_get_size(). 'type' argument specifies a message type prefix (none, GET_, STT_, STP_ or RTS_) by IGTL_TYPE_PREFIX_* macro. Returns 1 if success, otherwise 0.
◆ igtl_bind_unpack()
Unpacks BIND message. Extracts information about child messages in a byte array of BIND messages and store it in a igtl_bind_info structure. 'type' argument specifies a message type prefix (none, GET_, STT_, STP_ or RTS_) by IGTL_TYPE_PREFIX_* macro. Returns 1 if success, otherwise 0.