19 #ifndef FIRE_TRIG_ORD_HPP
20 #define FIRE_TRIG_ORD_HPP
22 #include "SignalData.hpp"
23 #include <NodeBitmask.hpp>
24 #include <trigger_definitions.h>
49 friend class SumaParticipant;
55 friend bool printFIRE_TRIG_ORD(FILE * output,
const Uint32 * theData, Uint32 len, Uint16 receiverBlockNo);
58 STATIC_CONST( SignalLength = 11 );
59 STATIC_CONST( SignalWithGCILength = 9 );
60 STATIC_CONST( SignalLengthSuma = 14 );
63 Uint32 m_connectionPtr;
66 Uint32 m_triggerEvent;
67 Uint32 m_noPrimKeyWords;
68 Uint32 m_noBeforeValueWords;
69 Uint32 m_noAfterValueWords;
82 Uint32 getConnectionPtr()
const;
83 void setConnectionPtr(Uint32);
84 Uint32 getUserRef()
const;
85 void setUserRef(Uint32);
86 Uint32 getTriggerId()
const;
87 void setTriggerId(Uint32 anIndxId);
90 Uint32 getNoOfPrimaryKeyWords()
const;
91 void setNoOfPrimaryKeyWords(Uint32);
92 Uint32 getNoOfBeforeValueWords()
const;
93 void setNoOfBeforeValueWords(Uint32);
94 Uint32 getNoOfAfterValueWords()
const;
95 void setNoOfAfterValueWords(Uint32);
96 Uint32 getGCI()
const;
98 Uint32 getHashValue()
const;
99 void setHashValue(Uint32);
100 Uint32 getAnyValue()
const;
101 void setAnyValue(Uint32);
105 Uint32 FireTrigOrd::getConnectionPtr()
const
107 return m_connectionPtr;
111 void FireTrigOrd::setConnectionPtr(Uint32 aConnectionPtr)
113 m_connectionPtr = aConnectionPtr;
117 Uint32 FireTrigOrd::getUserRef()
const
123 void FireTrigOrd::setUserRef(Uint32 aUserRef)
125 m_userRef = aUserRef;
129 Uint32 FireTrigOrd::getTriggerId()
const
135 void FireTrigOrd::setTriggerId(Uint32 aTriggerId)
137 m_triggerId = aTriggerId;
149 m_triggerEvent = aTriggerEvent;
153 Uint32 FireTrigOrd::getNoOfPrimaryKeyWords()
const
155 return m_noPrimKeyWords;
159 void FireTrigOrd::setNoOfPrimaryKeyWords(Uint32 noPrim)
161 m_noPrimKeyWords = noPrim;
165 Uint32 FireTrigOrd::getNoOfBeforeValueWords()
const
167 return m_noBeforeValueWords;
171 void FireTrigOrd::setNoOfBeforeValueWords(Uint32 noBefore)
173 m_noBeforeValueWords = noBefore;
177 Uint32 FireTrigOrd::getNoOfAfterValueWords()
const
179 return m_noAfterValueWords;
183 void FireTrigOrd::setNoOfAfterValueWords(Uint32 noAfter)
185 m_noAfterValueWords = noAfter;
189 Uint32 FireTrigOrd::getGCI()
const
195 void FireTrigOrd::setGCI(Uint32 aGCI)
201 Uint32 FireTrigOrd::getHashValue()
const
207 void FireTrigOrd::setHashValue(Uint32 flag)
213 Uint32 FireTrigOrd::getAnyValue()
const
219 void FireTrigOrd::setAnyValue(Uint32 any_value)
221 m_any_value = any_value;
226 STATIC_CONST( SignalLength = 4 );
235 STATIC_CONST( SignalLength = 4 );
243 FTR_UnknownOperation = 1235
244 ,FTR_IncorrectState = 1236
250 STATIC_CONST( SignalLength = 4 );
254 Uint32 noFiredTriggers;
256 static Uint32 getFiredCount(Uint32 v) {
257 return NoOfFiredTriggers::getFiredCount(v);
259 static Uint32 getDeferredBit(Uint32 v) {
260 return NoOfFiredTriggers::getDeferredBit(v);
262 static void setDeferredBit(Uint32 & v) {
263 NoOfFiredTriggers::setDeferredBit(v);