uchar OutputMap::grandMasterValue() { UniverseArray* ua = claimUniverses(); uchar value = ua->gMValue(); releaseUniverses(false); return value; }
void OutputMap::setGrandMasterValue(uchar value) { bool changed = false; UniverseArray* ua = claimUniverses(); if (ua->gMValue() != value) { ua->setGMValue(value); changed = true; } releaseUniverses(changed); if (changed == true) emit grandMasterValueChanged(value); }