64 constexpr
static const unsigned char defaultGroupColor[] = { 0xC0, 0xFF, 0xEE };
65 constexpr
static const unsigned char defaultGroupTransparency = 0xFF;
72 :
RgbColor(defaultGroupColor[0], defaultGroupColor[1], defaultGroupColor[2])
78 :
RgbColor(rRhs, gRhs, bRhs, defaultGroupTransparency)
84 const uchar bRhs,
const uchar aRhs)
107 ,
color(g.getColor())
108 ,
order(g.getOrder())
124 : m_sName(
std::move(name))
128 std::srand(std::time(NULL));
140 std::srand(std::time(NULL));
153 std::srand(std::time(NULL));
176 m_Color.
r = rand() % 256;
177 m_Color.
g = rand() % 256;
178 m_Color.
b = rand() % 256;
206 return m_sDescription;
227 return m_Id < groupRHS.
getId();
void setName(const std::string &sName)
bool operator<(const EventGroupINT &groupRHS) const
the class stores the concept of an event group internally in the Event library.
EventGroupINT(const char *name)
EventGroup class is designed as a data holder for a group. It is designed towards ease of use for a c...
EVENTSLIB::RgbColor getColor() const
void setColor(const EVENTSLIB::RgbColor &color)
std::string getDescription() const
const std::string & getName() const