Example #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++;
    }
}
Example #2
0
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++;
    }
}
Example #3
0
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++;
    }
}
Example #4
0
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++;
    }
}
Example #5
0
void ArgumentBinary::ProcessOutput(IOutputProcessor& aProcessor, const Brx& aBuffer)
{
    aProcessor.ProcessBinary(aBuffer, iValue);
    iParameter.ValidateBinary(iValue);
}
Example #6
0
void ArgumentUint::ProcessOutput(IOutputProcessor& aProcessor, const Brx& aBuffer)
{
    aProcessor.ProcessUint(aBuffer, iValue);
    iParameter.ValidateUint(iValue);
}
Example #7
0
void ArgumentString::ProcessOutput(IOutputProcessor& aProcessor, const Brx& aBuffer)
{
    aProcessor.ProcessString(aBuffer, iValue);
    iParameter.ValidateString(iValue);
}