| 225 | TsChannelGroup::~TsChannelGroup() {} |
| 226 | |
| 227 | TsChannel* TsChannelGroup::get(TsPid pid) { |
| 228 | return &_pids[pid]; |
| 229 | // std::map<TsPid, TsChannel>::iterator it = _pids.find(pid); |
| 230 | // if (it != _pids.end()) { |
| 231 | // return &it->second; |
| 232 | // } |
| 233 | // return NULL; |
| 234 | } |
| 235 | |
| 236 | TsChannel* TsChannelGroup::set(TsPid pid) { |
| 237 | std::map<TsPid, TsChannel>::iterator it = _pids.find(pid); |
no outgoing calls