Esempio n. 1
0
void PropertyBool::Process(IOutputProcessor& aProcessor, const Brx& aBuffer)
{
    AutoMutex a(iEnv.Mutex());
    TBool old = iValue;
    aProcessor.ProcessBool(aBuffer, iValue);
    if (iSequenceNumber == 0 || old != iValue) {
        iChanged = true;
        iSequenceNumber++;
    }
}
Esempio n. 2
0
void ArgumentBool::ProcessOutput(IOutputProcessor& aProcessor, const Brx& aBuffer)
{
    aProcessor.ProcessBool(aBuffer, iValue);
    iParameter.ValidateBool(iValue);
}