----------------------------------------------------------------------------- Get the verify changes flag for the specified value -----------------------------------------------------------------------------
| 3305 | // Get the verify changes flag for the specified value |
| 3306 | //----------------------------------------------------------------------------- |
| 3307 | bool Manager::GetChangeVerified |
| 3308 | ( |
| 3309 | ValueID const& _id |
| 3310 | ) |
| 3311 | { |
| 3312 | bool res = false; |
| 3313 | if( Driver* driver = GetDriver( _id.GetHomeId() ) ) |
| 3314 | { |
| 3315 | LockGuard LG(driver->m_nodeMutex); |
| 3316 | if( Value* value = driver->GetValue( _id ) ) |
| 3317 | { |
| 3318 | res = value->GetChangeVerified(); |
| 3319 | value->Release(); |
| 3320 | } else { |
| 3321 | OZW_ERROR(OZWException::OZWEXCEPTION_INVALID_VALUEID, "Invalid ValueID passed to GetChangeVerified"); |
| 3322 | } |
| 3323 | } |
| 3324 | return res; |
| 3325 | } |
| 3326 | |
| 3327 | |
| 3328 | //----------------------------------------------------------------------------- |