MCPcopy Create free account
hub / github.com/NatronGitHub/openfx-misc / fetch

Method fetch

SlitScan/SlitScan.cpp:160–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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> &times) const
180 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected