#ifndef __GeoMorphDefault_H__ #define __GeoMorphDefault_H__ #include "gmregistry.h" #include "crater.h" #include "mountains.h" #include "outflowchannels.h" #include "volcano.h" #include "winderode.h" #include "rough.h" namespace geoworld { class DefaultGMRegistry : public GeoMorphRegistry { private: CraterGMFactory _factCraterGM; MountainGMFactory _factMountGM; OutflowChannelGMFactory _factOutflowGM; WindErosionGTFactory _factWindGT; VolcanoGMFactory _factVolcanoGM; RoughGTFactory _factRough; public: inline DefaultGMRegistry () { registerFactory("crater", &_factCraterGM); registerFactory("mountains", &_factMountGM); registerFactory("outflowchannels", &_factOutflowGM); registerFactory("winderosion", &_factWindGT); registerFactory("volcano", &_factVolcanoGM); registerFactory("rough", &_factRough); } }; } #endif