| 712 | |
| 713 | |
| 714 | void Framework::trackUnderRole(const std::string& role) |
| 715 | { |
| 716 | CHECK(master->isWhitelistedRole(role)) |
| 717 | << "Unknown role '" << role << "'" << " of framework " << *this; |
| 718 | |
| 719 | CHECK(!isTrackedUnderRole(role)); |
| 720 | |
| 721 | if (!master->roles.contains(role)) { |
| 722 | master->roles[role] = new Role(master, role); |
| 723 | } |
| 724 | master->roles.at(role)->addFramework(this); |
| 725 | } |
| 726 | |
| 727 | |
| 728 | void Framework::untrackUnderRole(const std::string& role) |
nothing calls this directly
no test coverage detected