362c1f4c3b5ce9e3fce11167a51fbe4cdb2174de
Stefan Schuermans split ModuleMgr.h into decl...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h  1) /* Blinker
Stefan Schuermans update copyright header

Stefan Schuermans authored 5 years ago

src/common/ModuleMgr_impl.h  2)    Copyright 2011-2019 Stefan Schuermans <stefan@blinkenarea.org>
Stefan Schuermans split ModuleMgr.h into decl...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h  3)    Copyleft GNU public license - http://www.gnu.org/copyleft/gpl.html
src/noarch/ModuleMgr_impl.h  4)    a blinkenarea.org project */
src/noarch/ModuleMgr_impl.h  5) 
Stefan Schuermans namespace for preprocessor...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h  6) #ifndef BLINKER_MODULEMGR_IMPL_H
src/noarch/ModuleMgr_impl.h  7) #define BLINKER_MODULEMGR_IMPL_H
Stefan Schuermans split ModuleMgr.h into decl...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h  8) 
src/noarch/ModuleMgr_impl.h  9) #include <list>
Stefan Schuermans make modules know their name

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 10) #include <string>
Stefan Schuermans split ModuleMgr.h into decl...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 11) 
src/noarch/ModuleMgr_impl.h 12) #include "Directory.h"
Stefan Schuermans converted module manager to...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 13) #include "ListTracker.h"
src/noarch/ModuleMgr_impl.h 14) #include "ListTracker_impl.h"
Stefan Schuermans put all managers in one str...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 15) #include "Mgrs.h"
Stefan Schuermans split ModuleMgr.h into decl...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 16) #include "Module.h"
src/noarch/ModuleMgr_impl.h 17) #include "ModuleMgr.h"
Stefan Schuermans converted module manager to...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 18) #include "ModuleMgrCntr.h"
src/noarch/ModuleMgr_impl.h 19) #include "ModuleMgrCntr_impl.h"
Stefan Schuermans split ModuleMgr.h into decl...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 20) #include "TimeCallee.h"
src/noarch/ModuleMgr_impl.h 21) 
src/noarch/ModuleMgr_impl.h 22) namespace Blinker {
src/noarch/ModuleMgr_impl.h 23) 
src/noarch/ModuleMgr_impl.h 24) /**
src/noarch/ModuleMgr_impl.h 25)  * @brief constructor
Stefan Schuermans make modules know their name

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 26)  * @param[in] name module manager name / module class name
src/noarch/ModuleMgr_impl.h 27)  * @param[in] name module name
Stefan Schuermans put all managers in one str...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 28)  * @param[in] mgrs managers
Stefan Schuermans split ModuleMgr.h into decl...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 29)  * @param[in] dirBase base directory
src/noarch/ModuleMgr_impl.h 30)  */
src/noarch/ModuleMgr_impl.h 31) template<typename MODULE>
Stefan Schuermans make modules know their name

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 32) ModuleMgr<MODULE>::ModuleMgr(const std::string &name, Mgrs &mgrs,
src/noarch/ModuleMgr_impl.h 33)                              const Directory &dirBase):
src/noarch/ModuleMgr_impl.h 34)   m_name(name),
Stefan Schuermans put all managers in one str...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 35)   m_mgrs(mgrs),
Stefan Schuermans converted module manager to...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 36)   m_dirBase(dirBase),
src/noarch/ModuleMgr_impl.h 37)   m_moduleListTracker(*this, dirBase)
Stefan Schuermans split ModuleMgr.h into decl...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 38) {
Stefan Schuermans converted module manager to...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 39)   m_moduleListTracker.init();
Stefan Schuermans split ModuleMgr.h into decl...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 40) 
src/noarch/ModuleMgr_impl.h 41)   // request call in 1s
Stefan Schuermans put all managers in one str...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 42)   m_mgrs.m_callMgr.requestTimeCall(this, Time::now() + Time(1));
Stefan Schuermans split ModuleMgr.h into decl...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 43) }
src/noarch/ModuleMgr_impl.h 44) 
src/noarch/ModuleMgr_impl.h 45) /// destructor
src/noarch/ModuleMgr_impl.h 46) template<typename MODULE>
src/noarch/ModuleMgr_impl.h 47) ModuleMgr<MODULE>::~ModuleMgr()
src/noarch/ModuleMgr_impl.h 48) {
Stefan Schuermans converted module manager to...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 49)   m_moduleListTracker.clear();
Stefan Schuermans split ModuleMgr.h into decl...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 50) }
src/noarch/ModuleMgr_impl.h 51) 
Stefan Schuermans fixed comment typo

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 52) /// callback when requested time reached
Stefan Schuermans split ModuleMgr.h into decl...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 53) template<typename MODULE>
src/noarch/ModuleMgr_impl.h 54) void ModuleMgr<MODULE>::timeCall()
src/noarch/ModuleMgr_impl.h 55) {
src/noarch/ModuleMgr_impl.h 56)   updateConfig();
src/noarch/ModuleMgr_impl.h 57) 
src/noarch/ModuleMgr_impl.h 58)   // request next call in 1s
Stefan Schuermans put all managers in one str...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 59)   m_mgrs.m_callMgr.requestTimeCall(this, Time::now() + Time(1));
Stefan Schuermans split ModuleMgr.h into decl...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 60) }
src/noarch/ModuleMgr_impl.h 61) 
src/noarch/ModuleMgr_impl.h 62) /// check for update of configuration
src/noarch/ModuleMgr_impl.h 63) template<typename MODULE>
src/noarch/ModuleMgr_impl.h 64) void ModuleMgr<MODULE>::updateConfig()
src/noarch/ModuleMgr_impl.h 65) {
Stefan Schuermans converted module manager to...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 66)   // module list update
src/noarch/ModuleMgr_impl.h 67)   m_moduleListTracker.updateConfig();
Stefan Schuermans split ModuleMgr.h into decl...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 68) }
src/noarch/ModuleMgr_impl.h 69) 
src/noarch/ModuleMgr_impl.h 70) } // namespace Blinker
src/noarch/ModuleMgr_impl.h 71) 
Stefan Schuermans namespace for preprocessor...

Stefan Schuermans authored 12 years ago

src/noarch/ModuleMgr_impl.h 72) #endif // #ifndef BLINKER_MODULEMGR_IMPL_H