18 #ifndef CREATE_TRIG_HPP
19 #define CREATE_TRIG_HPP
21 #include "SignalData.hpp"
22 #include <Bitmask.hpp>
23 #include <trigger_definitions.h>
24 #include <AttributeList.hpp>
30 CreateTriggerOnline = 1,
31 CreateTriggerOffline = 2
41 STATIC_CONST( SignalLength = 13 );
42 SECTION( TRIGGER_NAME_SECTION = 0 );
43 SECTION( ATTRIBUTE_MASK_SECTION = 1 );
45 static Uint32 getOnlineFlag(Uint32
i) {
return i & 3; }
46 static void setOnlineFlag(Uint32 & i, Uint32 v) { i |= (v & 3); }
47 static Uint32 getEndpointFlag(Uint32 i) {
return (i >> 2) & 3;}
48 static void setEndpointFlag(Uint32 & i, Uint32 v) { i |= ((v & 3) << 2); }
61 Uint32 forceTriggerId;
67 STATIC_CONST( SignalLength = 7 );
70 union { Uint32 clientData, senderData; };
84 TriggerNameTooLong = 4236,
85 TooManyTriggers = 4237,
86 TriggerNotFound = 4238,
88 UnsupportedTriggerType = 4240,
89 BadRequestType = 4247,
92 OutOfStringBuffer = 773,
93 OutOfSectionMemory = 795
96 STATIC_CONST( SignalLength = 10 );
99 union { Uint32 clientData, senderData; };