64constexpr static const unsigned char defaultGroupColor[] = { 0xC0, 0xFF, 0xEE };
65constexpr static const unsigned char defaultGroupTransparency = 0xFF;
72:
RgbColor(defaultGroupColor[0], defaultGroupColor[1], defaultGroupColor[2])
78:
RgbColor(rRhs, gRhs, bRhs, defaultGroupTransparency)
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();
Event annotation management (creation, grouping, shared-memory transport).
Simple RGB triplet for color-coding event groups.
the class stores the concept of an event group internally in the Event library.
EVENTSLIB::RgbColor getColor() const
void setColor(const EVENTSLIB::RgbColor &color)
void setName(const std::string &sName)
std::string getDescription() const
EventGroupINT(const char *name)
const std::string & getName() const
bool operator<(const EventGroupINT &groupRHS) const