svcore
1.9
|
Public Member Functions | |
RDFImporterImpl (QString url, sv_samplerate_t sampleRate) | |
virtual | ~RDFImporterImpl () |
void | setSampleRate (sv_samplerate_t sampleRate) |
bool | isOK () |
QString | getErrorString () const |
std::vector< ModelId > | getDataModels (ProgressReporter *) |
Protected Member Functions | |
Uri | expand (QString s) |
void | getDataModelsAudio (std::vector< ModelId > &, ProgressReporter *) |
void | getDataModelsSparse (std::vector< ModelId > &, ProgressReporter *) |
void | getDataModelsDense (std::vector< ModelId > &, ProgressReporter *) |
QString | getDenseModelTitle (QString featureUri, QString featureTypeUri) |
void | getDenseFeatureProperties (QString featureUri, sv_samplerate_t &sampleRate, int &windowLength, int &hopSize, int &width, int &height) |
void | fillModel (ModelId, sv_frame_t, sv_frame_t, bool, std::vector< float > &, QString) |
Protected Attributes | |
BasicStore * | m_store |
QString | m_uristring |
QString | m_errorString |
std::map< QString, ModelId > | m_audioModelMap |
sv_samplerate_t | m_sampleRate |
std::map< ModelId, std::map< QString, float > > | m_labelValueMap |
Detailed Description
Definition at line 52 of file RDFImporter.cpp.
Constructor & Destructor Documentation
RDFImporterImpl::RDFImporterImpl | ( | QString | url, |
sv_samplerate_t | sampleRate | ||
) |
!! retrieve data if remote... then
Definition at line 130 of file RDFImporter.cpp.
References m_errorString, and m_store.
|
virtual |
Definition at line 157 of file RDFImporter.cpp.
References m_store.
Member Function Documentation
|
inline |
Definition at line 58 of file RDFImporter.cpp.
References getDataModels(), getErrorString(), isOK(), and m_sampleRate.
Referenced by RDFImporter::setSampleRate().
bool RDFImporterImpl::isOK | ( | ) |
Definition at line 163 of file RDFImporter.cpp.
References m_errorString.
Referenced by RDFImporter::isOK(), and setSampleRate().
QString RDFImporterImpl::getErrorString | ( | ) | const |
Definition at line 169 of file RDFImporter.cpp.
References m_errorString.
Referenced by RDFImporter::getErrorString(), and setSampleRate().
std::vector< ModelId > RDFImporterImpl::getDataModels | ( | ProgressReporter * | reporter | ) |
Definition at line 175 of file RDFImporter.cpp.
References getDataModelsAudio(), getDataModelsDense(), getDataModelsSparse(), m_errorString, and m_sampleRate.
Referenced by RDFImporter::getDataModels(), and setSampleRate().
|
inlineprotected |
Definition at line 67 of file RDFImporter.cpp.
Referenced by getDataModelsAudio(), getDataModelsDense(), getDataModelsSparse(), getDenseFeatureProperties(), and getDenseModelTitle().
|
protected |
Definition at line 211 of file RDFImporter.cpp.
References TypedById< Item, Id >::add(), FileFinder::AudioFile, expand(), FileFinder::find(), FileFinder::getInstance(), FileSource::getLocalFilename(), FileSource::getLocation(), FileSource::isAvailable(), m_audioModelMap, m_errorString, m_sampleRate, m_store, m_uristring, ProgressReporter::setMessage(), SVDEBUG, and FileSource::waitForData().
Referenced by getDataModels().
|
protected |
!! NB we're using rather old terminology for these things, apparently:
Definition at line 479 of file RDFImporter.cpp.
References TypedById< Item, Id >::add(), expand(), fillModel(), RealTime::fromXsdDuration(), TypedId< T >::isNone(), m_audioModelMap, m_sampleRate, m_store, RealTime::realTime2Frame(), ProgressReporter::setMessage(), Model::setRDFTypeURI(), and Model::setSourceModel().
Referenced by getDataModels().
|
protected |
Definition at line 293 of file RDFImporter.cpp.
References TypedById< Item, Id >::add(), expand(), getDenseFeatureProperties(), getDenseModelTitle(), m_sampleRate, m_store, and ProgressReporter::setMessage().
Referenced by getDataModels().
|
protected |
Definition at line 390 of file RDFImporter.cpp.
References expand(), m_store, and SVDEBUG.
Referenced by getDataModelsDense().
|
protected |
Definition at line 414 of file RDFImporter.cpp.
References expand(), and m_store.
Referenced by getDataModelsDense().
|
protected |
Definition at line 701 of file RDFImporter.cpp.
References m_labelValueMap.
Referenced by getDataModelsSparse().
Member Data Documentation
|
protected |
Definition at line 66 of file RDFImporter.cpp.
Referenced by getDataModelsAudio(), getDataModelsDense(), getDataModelsSparse(), getDenseFeatureProperties(), getDenseModelTitle(), RDFImporterImpl(), and ~RDFImporterImpl().
|
protected |
Definition at line 69 of file RDFImporter.cpp.
Referenced by getDataModelsAudio().
|
protected |
Definition at line 70 of file RDFImporter.cpp.
Referenced by getDataModels(), getDataModelsAudio(), getErrorString(), isOK(), and RDFImporterImpl().
|
protected |
Definition at line 71 of file RDFImporter.cpp.
Referenced by getDataModelsAudio(), and getDataModelsSparse().
|
protected |
Definition at line 72 of file RDFImporter.cpp.
Referenced by getDataModels(), getDataModelsAudio(), getDataModelsDense(), getDataModelsSparse(), and setSampleRate().
|
protected |
Definition at line 74 of file RDFImporter.cpp.
Referenced by fillModel().
The documentation for this class was generated from the following file:
Generated by 1.8.11