18 #ifndef SET_LOGLEVEL_ORD_HPP
19 #define SET_LOGLEVEL_ORD_HPP
21 #include <LogLevel.hpp>
22 #include "EventSubscribeReq.hpp"
23 #include "SignalData.hpp"
41 friend class NodeLogLevel;
44 STATIC_CONST( SignalLength = 1 + LogLevel::LOGLEVEL_CATEGORIES );
47 Uint32 theData[LogLevel::LOGLEVEL_CATEGORIES];
54 void setLogLevel(LogLevel::EventCategory ec,
int level = 7);
57 noOfEntries = LogLevel::LOGLEVEL_CATEGORIES;
58 for(Uint32
i = 0;
i<noOfEntries;
i++){
59 theData[
i] = (
i << 16) | ll.
getLogLevel((LogLevel::EventCategory)
i);
66 for(Uint32
i = 0;
i<noOfEntries;
i++){
67 theData[
i] = ll.theData[
i];
75 SetLogLevelOrd::clear(){
81 SetLogLevelOrd::setLogLevel(LogLevel::EventCategory ec,
int level){
82 theData[noOfEntries] = (ec << 16) | level;