Red Light Work
Dependencies: EthernetInterface QEI_hw QEIx4 mbed-rtos mbed realtimeMMLib
Fork of realtimeMM_V3 by
MMiniFileReader.h
00001 #include <string> 00002 #include "MMini.h" 00003 00004 class iniFileReader 00005 { 00006 public: 00007 iniFileReader(); 00008 ~iniFileReader(); 00009 00010 //std::string ReadStringParam(std::string section, std::string param); 00011 00012 iniFile ReadFile(const char* filePath); 00013 00014 private: 00015 00016 bool IsSection(char line[]); 00017 00018 void ReadSensorSection(char currentSection[], char section[],int size, char line[], iniSensor *sensor); 00019 00020 void GetSectionName(char line[], char* result); 00021 void GetParamName(char line[], char* result); 00022 void GetParamValue(char line[], char* result); 00023 00024 };
Generated on Sun Jul 17 2022 04:44:05 by 1.7.2