| 450 | } |
| 451 | |
| 452 | void ConfigObject::SetAuthority(bool authority) |
| 453 | { |
| 454 | ObjectLock olock(this); |
| 455 | |
| 456 | if (authority && GetPaused()) { |
| 457 | SetResumeCalled(false); |
| 458 | Resume(); |
| 459 | ASSERT(GetResumeCalled()); |
| 460 | SetPaused(false); |
| 461 | } else if (!authority && !GetPaused()) { |
| 462 | SetPaused(true); |
| 463 | SetPauseCalled(false); |
| 464 | Pause(); |
| 465 | ASSERT(GetPauseCalled()); |
| 466 | } |
| 467 | } |
| 468 | |
| 469 | void ConfigObject::DumpObjects(const String& filename, int attributeTypes) |
| 470 | { |
no outgoing calls
no test coverage detected