Go to the documentation of this file.
27#ifndef CINOSMCMESSAGEDEF_H
28#define CINOSMCMESSAGEDEF_H
34#define INOS_MCMSG_TYPE_FATAL 0
35#define INOS_MCMSG_TYPE_ERROR 1
36#define INOS_MCMSG_TYPE_STEP 2
37#define INOS_MCMSG_TYPE_WARNING 3
38#define INOS_MCMSG_TYPE_INFO 4
39#define INOS_MCMSG_TYPE_TEACH 5
40#define INOS_MCMSG_TYPE_LAST 5
41#define INOS_MCMSG_TYPE_DEFAULT 0xFFFF
43#define INOS_MCMSG_TYPE(auType,auResourceType,auResourceId)\
44 (((uint32)auType&0xffff)+((((uint32)auResourceType)&0xF)<<28)+((((uint32)auResourceId)&0xfff)<<16))
45#define INOS_MCMSG_TYPE_FROM_TYPE(auType) (auType&0xffff)
46#define INOS_MCMSG_RESOURCETYPE_FROM_TYPE(auType) (auType>>28)
47#define INOS_MCMSG_RESOURCEID_FROM_TYPE(auType) ((auType>>16)&0xfff)
49#define INOS_MCMSG_SOURCEID(auParent,auModule,auResourceType,auResourceId)\
50 (((((uint32)auParent)&0xff)<<24)+((((uint32)auModule)&0xff)<<16)+((((uint32)auResourceType)&0xF)<<12)+(((uint32)auResourceId)&0xfff))
51#define INOS_MCMSG_PARENT_FROM_SOURCEID(auSourceId) (auSourceId>>24)
52#define INOS_MCMSG_MODULE_FROM_SOURCEID(auSourceId) ((auSourceId>>16)&0xff)
53#define INOS_MCMSG_RESOURCETYPE_FROM_SOURCEID(auSourceId) ((auSourceId>>12)&0xf)
54#define INOS_MCMSG_RESOURCEID_FROM_SOURCEID(auSourceId) (auSourceId&0xfff)
57#define INOS_MCMSG_FLAG_NONE 0x00000000
58#define INOS_MCMSG_FLAG_CANCEL 0x00000001
59#define INOS_MCMSG_FLAG_RETRY 0x00000002
60#define INOS_MCMSG_FLAG_CONFIRM 0x00000004
61#define INOS_MCMSG_FLAG_STOP 0x00000008
62#define INOS_MCMSG_FLAG_MANUAL 0x00000010
63#define INOS_MCMSG_FLAG_STEP 0x00000020
64#define INOS_MCMSG_FLAG_RESUME 0x00000020
65#define INOS_MCMSG_FLAG_SKIP 0x00000040
66#define INOS_MCMSG_FLAG_PAUSE 0x00000080
67#define INOS_MCMSG_FLAG_HARD_RESET 0x00000100
68#define INOS_MCMSG_FLAG_SOFT_RESET 0x00000200
69#define INOS_MCMSG_FLAG_EMERGENCY_RESET 0x00000400
70#define INOS_MCMSG_FLAG_SAFETY_RESET 0x00000800
71#define INOS_MCMSG_FLAG_MORPHING 0x00002000
72#define INOS_MCMSG_FLAG_SINGLE 0x00004000
73#define INOS_MCMSG_FLAG_INTERNAL 0x00008000
75#define INOS_MCMSG_FLAG_USER0 0x00010000
76#define INOS_MCMSG_FLAG_USER1 0x00020000
77#define INOS_MCMSG_FLAG_USER2 0x00040000
78#define INOS_MCMSG_FLAG_USER3 0x00080000
79#define INOS_MCMSG_FLAG_USER4 0x00100000
80#define INOS_MCMSG_FLAG_USER5 0x00200000
81#define INOS_MCMSG_FLAG_USER6 0x00400000
82#define INOS_MCMSG_FLAG_USER7 0x00800000
83#define INOS_MCMSG_FLAG_USER8 0x01000000
84#define INOS_MCMSG_FLAG_USER9 0x02000000
85#define INOS_MCMSG_FLAG_USERA 0x04000000
86#define INOS_MCMSG_FLAG_USERB 0x08000000
87#define INOS_MCMSG_FLAG_USERC 0x10000000
88#define INOS_MCMSG_FLAG_USERD 0x20000000
89#define INOS_MCMSG_FLAG_USERE 0x40000000
90#define INOS_MCMSG_FLAG_USERF 0x80000000
91#define INOS_MCMSG_FLAG_DEFAULT 0xFFFFFFFF
94#define INOS_MCMSG_CODE_INOS 0x00000000
95#define INOS_MCMSG_CODE_INCO 0x01000000
96#define INOS_MCMSG_CODE_APP 0x80000000