Lines Matching refs:team
62 AppManager::HasTeam(team_id team)
65 return fMap.find(team) != fMap.end();
70 AppManager::RegisterTeam(team_id team, const BMessenger& messenger)
74 TRACE("AppManager::RegisterTeam %" B_PRId32 "\n", team);
75 if (HasTeam(team)) {
76 ERROR("AppManager::RegisterTeam: team %" B_PRId32 " already"
77 " registered\n", team);
82 fMap.insert(std::make_pair(team, messenger));
92 AppManager::UnregisterTeam(team_id team)
94 TRACE("AppManager::UnregisterTeam %" B_PRId32 "\n", team);
97 bool isRemoved = fMap.erase(team) != 0;
100 _CleanupTeam(team);
119 AppManager::SendMessage(team_id team, BMessage* message)
123 AppMap::iterator found = fMap.find(team);
144 printf(" team %" B_PRId32 " \"%s\", messenger %svalid\n",
165 AppManager::_CleanupTeam(team_id team)
169 TRACE("AppManager: cleaning up team %" B_PRId32 "\n", team);
171 gNodeManager->CleanupTeam(team);
172 gBufferManager->CleanupTeam(team);
173 gNotificationManager->CleanupTeam(team);