Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  
igtl_query.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: The OpenIGTLink Library
4 Language: C
5 Web page: http://openigtlink.org/
6
7 Copyright (c) Insight Software Consortium. All rights reserved.
8
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notices for more information.
12
13=========================================================================*/
14
15#ifndef __IGTL_QUERY_H
16#define __IGTL_QUERY_H
17
18#include "igtl_win32header.h"
19#include "igtl_util.h"
20#include "igtl_types.h"
21#include "igtl_win32header.h"
22
23#define IGTL_QUERY_HEADER_SIZE 38
24#define IGTL_QUERY_DATE_TYPE_SIZE 32
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29#pragma pack(1) /* For 1-byte boundary in memory */
30
31typedef struct {
32 igtl_uint32 queryID; /* The unique ID of this QUERY */
33 igtl_uint8 queryDataType[IGTL_QUERY_DATE_TYPE_SIZE]; /* The query data type of the message */
34
35 igtl_uint16 deviceUIDLength; /* Length of DEVICE Name */
37
38#pragma pack()
39
44
47igtl_uint64 igtl_export igtl_query_get_crc(igtl_query_header * header, void* query);
48
49#ifdef __cplusplus
50}
51#endif
52
53#endif /* __IGTL_QUERY_H */
void igtl_export igtl_query_convert_byte_order(igtl_query_header *header)
igtl_uint64 igtl_export igtl_query_get_crc(igtl_query_header *header, void *query)
#define IGTL_QUERY_DATE_TYPE_SIZE
Definition igtl_query.h:24
#define igtl_export
igtl_uint32 queryID
Definition igtl_query.h:32
igtl_uint16 deviceUIDLength
Definition igtl_query.h:35

Generated for OpenIGTLink by Doxygen 1.9.8 written by Dimitri van Heesch, © 1997-2012