MCPcopy Create free account
hub / github.com/cinder/Cinder / initFromLoader

Method initFromLoader

src/cinder/qtime/QuickTimeImplLegacy.cpp:132–140  ·  view source on GitHub ↗

We shouldn't call an abstract virtual from the constructor (specifically getObj()), so we have a two-phase construction, an empty constructor and this

Source from the content-addressed store, hash-verified

130
131// We shouldn't call an abstract virtual from the constructor (specifically getObj()), so we have a two-phase construction, an empty constructor and this
132void MovieBase::initFromLoader( const MovieLoader &loader )
133{
134 startQuickTime();
135
136 loader.waitForLoaded();
137 getObj()->mMovie = loader.transferMovieHandle();
138
139 init();
140}
141
142// We shouldn't call an abstract virtual from the constructor (specifically getObj()), so we have a two-phase construction, an empty constructor and this
143void MovieBase::initFromPath( const fs::path &filePath )

Callers

nothing calls this directly

Calls 3

startQuickTimeFunction · 0.85
waitForLoadedMethod · 0.80
transferMovieHandleMethod · 0.45

Tested by

no test coverage detected