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-10-14
Revision:
220:dbe21411f962
Parent:
156:44f87c5a83ae
Child:
221:2a5e9902003c

File content as of revision 220:dbe21411f962:

/******************************************************************************
 * 
 * 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 "CompositeControl.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;

typedef map<string, CompositeControl*> StringCompositeMap;

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

#endif