18 #ifndef ARBIT_SIGNAL_DATA_H
19 #define ARBIT_SIGNAL_DATA_H
22 #include <NodeBitmask.hpp>
25 #include "SignalData.hpp"
26 #include "SignalDataPrint.hpp"
36 STATIC_CONST( DataLength = 2 );
37 STATIC_CONST( TextLength = DataLength * 8 );
44 inline void update() {
45 Uint16 cnt = data[0] & 0xFFFF;
46 Uint16 pid = NdbHost_GetProcessId();
47 data[0] = (pid << 16) | (cnt + 1);
48 data[1] = (Uint32)NdbTick_CurrentMillisecond();
53 data[0] == aTicket.data[0] &&
54 data[1] == aTicket.data[1];
57 inline void getText(
char *
buf,
size_t buf_len)
const {
74 STATIC_CONST( ErrTextLength = 80 );
106 WinWaitExternal = 50,
116 static inline void getErrText(Uint32
code,
char*
buf,
size_t buf_len) {
148 STATIC_CONST( SignalLength = 3 + ArbitTicket::DataLength + NodeBitmask::Size );
152 node == aData.node &&
153 ticket.match(aData.ticket);