示例#1
0
文件: Service.cpp 项目: broonie/ohNet
void PropertyUint::Process(IOutputProcessor& aProcessor, const Brx& aBuffer)
{
    AutoMutex a(iEnv.Mutex());
    TUint old = iValue;
    aProcessor.ProcessUint(aBuffer, iValue);
    if (iSequenceNumber == 0 || old != iValue) {
        iChanged = true;
        iSequenceNumber++;
    }
}
示例#2
0
void ArgumentUint::ProcessOutput(IOutputProcessor& aProcessor, const Brx& aBuffer)
{
    aProcessor.ProcessUint(aBuffer, iValue);
    iParameter.ValidateUint(iValue);
}