Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

src/ConfigurationHandler/ConfigurationHandler.h

Committer:
jmarkel44
Date:
2016-09-30
Revision:
156:44f87c5a83ae
Parent:
97:5cf6ab71dcd0
Child:
220:dbe21411f962

File content as of revision 156:44f87c5a83ae:

/******************************************************************************
 * 
 * File:                ConfigurationHandler.h
 * Desciption:          interface file for the ICE Configuration Handler
 *
 *****************************************************************************/
#ifndef CONFIGURATION_HANDLER_H
#define CONFIGURATION_HANDLER_H

#include "SetpointControl.h"
#include "TimerControl.h"
#include "ManualControl.h"
#include <map>

void ConfigurationHandler(void const *args);
void ConfigurationHandler_showControls(void);

// map["control_sp_1.json"] : setpointControl
typedef map<string, SetpointControl*> StringSetpointMap;

// map["o_rly1"] : vector<TimerControl>.first
//                 vector<TimerControl>.second
// map["o_rly2"] : vector<TimerControl>.first
typedef map<string, vector<TimerControl*> > StringVectorTimerMap;

//map["control_mn_1.json"] : manualControl
typedef map<string, ManualControl*> StringManualMap;

extern StringSetpointMap        setpointTable;
extern StringVectorTimerMap    timerTable;
extern StringManualMap          manualTable;

#endif