| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- #pragma once
- //////////////////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////
- /////////////////
- //
- // Global Include Files
- //
- //
- #include <iostream>
- #include <map>
- #include <vector>
- #include "sLampInterface.h"
- class cLampsInterface
- {
- private:
- public:
- // std::map<std::string, std::vector<struct s_LampInterface>> m_PresetsName;
- // map [LampName][PresetName]
- std::map<std::string, std::map<std::string, struct s_LampInterface>> m_Presets;
- struct s_LampInterface m_lampsetting;
- static cLampsInterface *_Instance;
- const char *m_lampName = "L1";
- const char *m_sceneName = "P1";
- /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- *
- */
- cLampsInterface();
- void init() {};
- /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- *
- */
- struct s_LampInterface *addLampPresetStruct(const char *lampName);
- void setActivePresetScene(const char *scene) { m_sceneName = scene; };
- const char *getActivePresetScene();
- /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- *
- */
- struct s_LampInterface *getActivePresetData(const char *lampName);
- /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- *
- */
- void printPreset();
- /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- *
- */
- private:
-
- /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- *
- */
- }; // end class cLamps
|