add some c++ doc
This commit is contained in:
		@@ -12,14 +12,39 @@ class WifiManager {
 | 
			
		||||
public:
 | 
			
		||||
    WifiManager();
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * initialize the webserver
 | 
			
		||||
     */
 | 
			
		||||
    void init();
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * handles new web requests and holds the webserver alive
 | 
			
		||||
     * call as often as possible
 | 
			
		||||
     */
 | 
			
		||||
    void holdAlive();
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * reads the max-wait-time out of eeprom
 | 
			
		||||
     * @return max-wait-time in seconds
 | 
			
		||||
     */
 | 
			
		||||
    int getWaitTime();
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * sets the last time when the pump was on
 | 
			
		||||
     * @param lastPumpTime pump time in ms
 | 
			
		||||
     */
 | 
			
		||||
    void setlastPumpTime(unsigned long lastPumpTime);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * sets the last time of a water outage
 | 
			
		||||
     * @param lastWaterOutage last wateroutage time in ms
 | 
			
		||||
     */
 | 
			
		||||
    void setlastWaterOutage(unsigned long lastWaterOutage);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * sets the duration of the last pump cycle
 | 
			
		||||
     * @param lastPumpDuration duration in ms
 | 
			
		||||
     */
 | 
			
		||||
    void setPumpDuration(unsigned long lastPumpDuration);
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user