| 158 | } |
| 159 | |
| 160 | const Image* fetch(double time, |
| 161 | bool nofetch = false) const |
| 162 | { |
| 163 | if (!_srcClip) { |
| 164 | return NULL; |
| 165 | } |
| 166 | ImagesMap::const_iterator it = _images.find(time); |
| 167 | if ( it != _images.end() ) { |
| 168 | return it->second; |
| 169 | } |
| 170 | if (nofetch) { |
| 171 | assert(false); |
| 172 | |
| 173 | return NULL; |
| 174 | } |
| 175 | |
| 176 | return _images[time] = _srcClip->fetchImage(time); |
| 177 | } |
| 178 | |
| 179 | void fetchSet(const std::set<double> ×) const |
| 180 | { |
nothing calls this directly
no outgoing calls
no test coverage detected