![]() |
LIMA
Libre Multilingual Analyzer — C++ API
|
#include <common/MediaProcessors/MediaProcessors.h>
Public Member Functions | |
| virtual | ~MediaProcessors () |
| std::shared_ptr< MediaProcessUnitPipeline > | getPipelineForId (MediaId med, const std::string &id) const |
| get the pipeline for the given id and media | |
| std::shared_ptr< MediaAnalysisDumper > | getAnalysisDumperForId (MediaId med, const std::string &type) const |
| get the dumper for the given id and media | |
| void | initMedia (MediaId, Common::XMLConfigurationFiles::ModuleConfigurationStructure &procConf) |
| void | initPipelines (Common::XMLConfigurationFiles::GroupConfigurationStructure &confModule, const std::deque< std::string > &pipelines) |
| void | getAvailableMedia (std::set< MediaId > &ids) const |
| void | getAvailablePipelinesForMedia (MediaId id, std::set< std::string > &pipelines) const |
| const std::map< MediaId, MediaProcessUnit::Manager * > & | managers () const |
Public Member Functions inherited from Lima::Singleton< MediaProcessors > | |
| Singleton ()=default | |
| virtual | ~Singleton ()=default |
Friends | |
| class | Singleton< MediaProcessors > |
Additional Inherited Members | |
Static Public Member Functions inherited from Lima::Singleton< MediaProcessors > | |
| static const MediaProcessors & | single () |
| const singleton accessor | |
| static const MediaProcessors * | psingle () |
| static MediaProcessors & | changeable () |
| singleton accessor | |
| static MediaProcessors * | pchangeable () |
Definition at line 33 of file MediaProcessors.h.
|
virtual |
Definition at line 62 of file MediaProcessors.cpp.
| std::shared_ptr< MediaAnalysisDumper > Lima::MediaProcessors::getAnalysisDumperForId | ( | MediaId | med, |
| const std::string & | type | ||
| ) | const |
get the dumper for the given id and media
| med | media requested |
| type | dumper id |
| 0 | if can't get the corresponding dumper |
Definition at line 227 of file MediaProcessors.cpp.
| void Lima::MediaProcessors::getAvailableMedia | ( | std::set< MediaId > & | ids | ) | const |
Definition at line 250 of file MediaProcessors.cpp.
| void Lima::MediaProcessors::getAvailablePipelinesForMedia | ( | MediaId | id, |
| std::set< std::string > & | pipelines | ||
| ) | const |
Definition at line 262 of file MediaProcessors.cpp.
| std::shared_ptr< MediaProcessUnitPipeline > Lima::MediaProcessors::getPipelineForId | ( | MediaId | med, |
| const std::string & | id | ||
| ) | const |
get the pipeline for the given id and media
| med | media requested |
| id | pipeline id |
| 0 | if can't get the corresponding pipeline |
Definition at line 202 of file MediaProcessors.cpp.
| void Lima::MediaProcessors::initMedia | ( | MediaId | med, |
| Common::XMLConfigurationFiles::ModuleConfigurationStructure & | procConf | ||
| ) |
Definition at line 85 of file MediaProcessors.cpp.
| void Lima::MediaProcessors::initPipelines | ( | Common::XMLConfigurationFiles::GroupConfigurationStructure & | confModule, |
| const std::deque< std::string > & | pipelines | ||
| ) |
Definition at line 108 of file MediaProcessors.cpp.
| const std::map< MediaId, MediaProcessUnit::Manager * > & Lima::MediaProcessors::managers | ( | ) | const |
Definition at line 80 of file MediaProcessors.cpp.
|
friend |
Definition at line 33 of file MediaProcessors.h.