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++; } }
void PropertyBinary::Process(IOutputProcessor& aProcessor, const Brx& aBuffer) { AutoMutex a(iEnv.Mutex()); Bwh old(iValue.Ptr(), iValue.Bytes()); aProcessor.ProcessBinary(aBuffer, iValue); if (iSequenceNumber == 0 || old != iValue) { iChanged = true; iSequenceNumber++; } }
void PropertyUint::Process(IOutputProcessor& aProcessor, const Brx& aBuffer) { AutoMutex a(iStack.Mutex()); TUint old = iValue; aProcessor.ProcessUint(aBuffer, iValue); if (iSequenceNumber == 0 || old != iValue) { iChanged = true; iSequenceNumber++; } }
void PropertyString::Process(IOutputProcessor& aProcessor, const Brx& aBuffer) { AutoMutex a(iEnv.Mutex()); Brhz old; iValue.TransferTo(old); aProcessor.ProcessString(aBuffer, iValue); if (iSequenceNumber == 0 || old != iValue) { iChanged = true; iSequenceNumber++; } }
void ArgumentBinary::ProcessOutput(IOutputProcessor& aProcessor, const Brx& aBuffer) { aProcessor.ProcessBinary(aBuffer, iValue); iParameter.ValidateBinary(iValue); }
void ArgumentUint::ProcessOutput(IOutputProcessor& aProcessor, const Brx& aBuffer) { aProcessor.ProcessUint(aBuffer, iValue); iParameter.ValidateUint(iValue); }
void ArgumentString::ProcessOutput(IOutputProcessor& aProcessor, const Brx& aBuffer) { aProcessor.ProcessString(aBuffer, iValue); iParameter.ValidateString(iValue); }