![]() |
Diana Software
|
module instantiation class More...
Public Member Functions | |
| virtual | ~QModuleFactory () |
| void | Init () |
| void | Dump (std::ostream &) |
| std::list< QSequence * > & | GetSequences () |
Public Member Functions inherited from QNamed | |
| QNamed () | |
| QNamed (const std::string &Name) | |
| virtual | ~QNamed () |
| const std::string & | GetName () const |
| void | SetName (const std::string &name) |
Static Public Member Functions | |
| static QModuleFactory * | Get () |
Private Member Functions | |
| QSequence * | FindSequence (const std::string &s) |
| QModuleFactory () | |
| QModule * | CreateModule (const std::string &n, QSequence *) |
| QWriter * | CreateWriter (const std::string &n, QSequence *) |
| QReader * | CreateReader (const std::string &n, QSequence *) |
| QFilter * | CreateFilter (const std::string &n, QSequence *) |
| QDriver * | CreateDriver (const std::string &n, QSequence *) |
| void | LoadLoadable (const std::string &n) |
| std::string | ReplaceCFGVar (const std::string &value) |
| void | AddAliasGroup (std::vector< std::pair< std::string, int > > &cfgFileLines, int location, const std::vector< std::string > &alias_files, const std::string &group, const std::vector< std::pair< std::string, std::string > > &group_options) |
Private Attributes | |
| std::list< QSequence * > | sequences |
| bool | init_done |
Static Private Attributes | |
| static QModuleFactory * | me = 0 |
module instantiation class
Implementation of class QModuleFactory in config file we expect something like this:
framework load mikey load minnie endfw sequence S1 module m1 module m2 ... any list of modules endseq sequence S2 module m1 module m3 ... any list of modules endseq
Definition at line 54 of file QModuleFactory.hh.
|
virtual |
Definition at line 32 of file QModuleFactory.cc.
|
private |
Definition at line 37 of file QModuleFactory.cc.
|
private |
Definition at line 486 of file QModuleFactory.cc.
References QMessageHandler::Get(), and PanicMsg.
Definition at line 73 of file QModuleFactory.cc.
References QGeneralFactory::CreateDriver(), QGeneralFactory::GetInstance(), and QMessageHandler::Panic().
Definition at line 64 of file QModuleFactory.cc.
References QGeneralFactory::CreateFilter(), QGeneralFactory::GetInstance(), and QMessageHandler::Panic().
Definition at line 94 of file QModuleFactory.cc.
References QGeneralFactory::CreateModule(), QGeneralFactory::GetInstance(), and QMessageHandler::Panic().
Definition at line 54 of file QModuleFactory.cc.
References QGeneralFactory::CreateReader(), QGeneralFactory::GetInstance(), and QMessageHandler::Panic().
Definition at line 83 of file QModuleFactory.cc.
References QGeneralFactory::CreateWriter(), QGeneralFactory::GetInstance(), and QMessageHandler::Panic().
| void QModuleFactory::Dump | ( | std::ostream & | o | ) |
Definition at line 457 of file QModuleFactory.cc.
|
private |
Definition at line 40 of file QModuleFactory.cc.
|
static |
Definition at line 25 of file QModuleFactory.cc.
Referenced by main(), QFrameWork::Run(), and QFrameWork::~QFrameWork().
|
inline |
Definition at line 66 of file QModuleFactory.hh.
References sequences.
Referenced by QFrameWork::Run(), and QFrameWork::~QFrameWork().
| void QModuleFactory::Init | ( | ) |
Definition at line 104 of file QModuleFactory.cc.
References DebugMsg, Dump(), err, QSequence::fConfig, QSequenceConfig::fFilename, QMessageHandler::Get(), QOptions::GetInstance(), QBaseModule::GetOccurrence(), InfoMsg, QSequence::modules, QSequence::p_Driver, QSequence::p_Reader, QSequence::p_Writer, QMessageHandler::Panic(), PanicMsg, QStringHandler::RSwallowSpaces(), and QStringHandler::SwallowSpaces().
Referenced by main().
|
private |
Definition at line 48 of file QModuleFactory.cc.
References QGlobalRWFactory::GetInstance(), and QGlobalRWFactory::LoadPlugin().
|
private |
Definition at line 465 of file QModuleFactory.cc.
References QOptions::GetInstance().
|
private |
Definition at line 93 of file QModuleFactory.hh.
|
staticprivate |
Definition at line 71 of file QModuleFactory.hh.
|
private |
Definition at line 89 of file QModuleFactory.hh.
Referenced by GetSequences().