-
Notifications
You must be signed in to change notification settings - Fork 10
/
constants.m
45 lines (44 loc) · 2.92 KB
/
constants.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
classdef constants
properties(Constant)
GADGET_MESSAGE_INT_ID_MIN = 0;
GADGET_MESSAGE_CONFIG_FILE = 1;
GADGET_MESSAGE_CONFIG_SCRIPT = 2;
GADGET_MESSAGE_PARAMETER_SCRIPT = 3;
GADGET_MESSAGE_CLOSE = 4;
GADGET_MESSAGE_TEXT = 5;
GADGET_MESSAGE_INT_ID_MAX = 999;
GADGET_MESSAGE_EXT_ID_MIN = 1000;
GADGET_MESSAGE_ACQUISITION = 1001; % DEPRECATED
GADGET_MESSAGE_NEW_MEASUREMENT = 1002; % DEPRECATED
GADGET_MESSAGE_END_OF_SCAN = 1003; % DEPRECATED
GADGET_MESSAGE_IMAGE_CPLX_FLOAT = 1004; % DEPRECATED
GADGET_MESSAGE_IMAGE_REAL_FLOAT = 1005; % DEPRECATED
GADGET_MESSAGE_IMAGE_REAL_USHORT = 1006; % DEPRECATED
GADGET_MESSAGE_EMPTY = 1007; % DEPRECATED
GADGET_MESSAGE_ISMRMRD_ACQUISITION = 1008;
GADGET_MESSAGE_ISMRMRD_IMAGE_CPLX_FLOAT = 1009; % DEPRECATED
GADGET_MESSAGE_ISMRMRD_IMAGE_REAL_FLOAT = 1010; % DEPRECATED
GADGET_MESSAGE_ISMRMRD_IMAGE_REAL_USHORT = 1011; % DEPRECATED
GADGET_MESSAGE_DICOM = 1012; % DEPRECATED
GADGET_MESSAGE_CLOUD_JOB = 1013;
GADGET_MESSAGE_GADGETCLOUD_JOB = 1014;
GADGET_MESSAGE_ISMRMRD_IMAGEWITHATTRIB_CPLX_FLOAT = 1015; % DEPRECATED
GADGET_MESSAGE_ISMRMRD_IMAGEWITHATTRIB_REAL_FLOAT = 1016; % DEPRECATED
GADGET_MESSAGE_ISMRMRD_IMAGEWITHATTRIB_REAL_USHORT = 1017; % DEPRECATED
GADGET_MESSAGE_DICOM_WITHNAME = 1018;
GADGET_MESSAGE_DEPENDENCY_QUERY = 1019;
GADGET_MESSAGE_ISMRMRD_IMAGE_REAL_SHORT = 1020; % DEPRECATED
GADGET_MESSAGE_ISMRMRD_IMAGEWITHATTRIB_REAL_SHORT = 1021; % DEPRECATED
GADGET_MESSAGE_ISMRMRD_IMAGE = 1022;
GADGET_MESSAGE_RECONDATA = 1023;
GADGET_MESSAGE_ISMRMRD_WAVEFORM = 1026;
GADGET_MESSAGE_EXT_ID_MAX = 4096;
SIZEOF_GADGET_MESSAGE_LENGTH = 4; % unsigned int
SIZEOF_GADGET_MESSAGE_IDENTIFIER = 2; % unsigned short
SIZEOF_GADGET_MESSAGE_CONFIGURATION_FILE = 1024; % char array
SIZEOF_GADGET_MESSAGE_ATTRIB_LENGTH = 8; % unsigned long long
SIZEOF_GADGET_ACQUISITION_HEADER = 340; % mixed
SIZEOF_GADGET_WAVEFORM_HEADER = 240; % mixed
SIZEOF_GADGET_IMAGE_HEADER = 198; % mixed
end
end