1 class BloreStatisticsAccess
2 {
3 public:
4 BloreStatisticsAccess() {
5 }
6 BloreStatistics* getIfExists() {
7 return dynamic_cast<BloreStatistics*>(simulation.getModuleByPath("stats"));
8 }
9 };
10 #endif
i am getting error at line number 7 as simulation not defined in this module.please help me to resolve this error ASAP.