libmanta
A cross-platform API for the Snyderphonics Manta
MantaMap.h
00001 #ifndef _MANTAMAP_H
00002 #define _MANTAMAP_H
00003 
00004 #include <string>
00005 
00006 class MantaMap
00007 {
00008    public:
00009    MantaMap(string mapFile);
00010    void ParseMapFile(string mapFile);
00011    int GetMappedValue(int rawValue);
00012    int *GetRedLEDMask();
00013    int *GetAmberLEDMask();
00014 
00015    private:
00016    int Map[48];
00017    int RedLEDMask[6];
00018    int AmberLEDMask[6];
00019 }
00020 
00021 #endif // _MANTAMAP_H