19 #ifndef UTIL_EXECUTE_HPP
20 #define UTIL_EXECUTE_HPP
22 #include "SignalData.hpp"
23 #include <SimpleProperties.hpp>
44 Uint32 len, Uint16 receiverBlockNo);
46 STATIC_CONST( SignalLength = 4 );
47 STATIC_CONST( HEADER_SECTION = 0 );
48 STATIC_CONST( DATA_SECTION = 1 );
49 STATIC_CONST( NoOfSections = 2 );
53 void setPrepareId(Uint32 pId) { prepareId = pId; };
54 Uint32 getPrepareId()
const {
return prepareId & 0xFF; };
55 void setReleaseFlag() { prepareId |= 0x100; };
56 bool getReleaseFlag()
const {
return (prepareId & 0x100) != 0; };
82 const Uint32 * theData,
84 Uint16 receiverBlockNo);
86 STATIC_CONST( SignalLength = 3 );
114 const Uint32 * theData,
116 Uint16 receiverBlockNo);
119 STATIC_CONST( SignalLength = 3 );
122 IllegalKeyNumber = 1,
123 IllegalAttrNumber = 2,
126 MissingDataSection = 6,