Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

src/ConfigurationHandler/Controls/SetpointControl.h

Committer:
jmarkel44
Date:
2016-09-06
Revision:
10:38d8ece439da
Parent:
5:5e77a1db4d45

File content as of revision 10:38d8ece439da:

/******************************************************************************
 *
 * File:                SetpointControl.h
 * Desciption:          ICE Timer Control Class
 *
 *****************************************************************************/
#ifndef SETPOINTCONTROL_H
#define SETPOINTCONTROL_H

#include <string>

class SetpointControl
{
private:
    string          controlFile;        // name of the control file
    unsigned int    interval;           // interval at which we run
    unsigned int    priority;           // priority at which we run
public:
    SetpointControl(const char* filename) : controlFile(filename)
    {
        printf("\r%s: controls  instantiated with controlFile %s\n",
            __func__, controlFile.c_str());
    }
    string getControlFile(void) { return controlFile; } 
};

#endif