Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

src/ConfigurationHandler/Controls/TimerControl.h

Committer:
jmarkel44
Date:
2016-09-07
Revision:
19:9bc8fabeddfa
Parent:
12:ea87887ca7ad
Child:
20:653923c2f37a

File content as of revision 19:9bc8fabeddfa:

/******************************************************************************
 *
 * File:                TimerControl.h
 * Desciption:          ICE Timer Control Class
 *
 *****************************************************************************/
#ifndef TIMERCONTROL_H
#define TIMERCONTROL_H

#include <string>

using namespace std;

class TimerControl
{
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:
    TimerControl() {};
    ~TimerControl() {
        printf("\r%s destructor invoked\n", __func__);
    }
    bool Load(string filename);
    string getControlFile(void) {
        return controlFile;
    }
};

#endif