Change commandline runner implementation
authorMaxim Koltsov <maks@omrb.pnpi.spb.ru>
Fri, 19 Dec 2014 13:46:59 +0000 (16:46 +0300)
committerMaxim Koltsov <maks@omrb.pnpi.spb.ru>
Fri, 19 Dec 2014 13:46:59 +0000 (16:46 +0300)
commit923c524822da8a082113a13626d4fc9f9b711605
tree96a0e329d57bb5bf10a14fb464deae8641c169a6
parenta673612555b627eee024dcd698750197ba292657
Change commandline runner implementation

- Get rid of TrajectoryAnalysisCommandLineRunner class mapping and map
  'runAsMain' static function instead
- Change 'ModuleFactory' typedef to std::function to allow passing
  functors as module factories
- Implement python interface to 'runAsMain' that creates the factory to
  give appropriate C++ module object to the GROMACS command line runner
  subsystem
src/gromacs/trajectoryanalysis/cmdlinerunner.h
src/python/sip/trajectoryanalysis/TrajectoryAnalysis.sip
src/python/sip/trajectoryanalysis/analysismodule.sip
src/python/test.py