Skip to content
Snippets Groups Projects
Commit cb0caaf3 authored by fxk8y's avatar fxk8y :spider:
Browse files

ST: Remove never implemented CapabilityManager-approach (superseded by ServiceManager)

parent 75848c64
No related branches found
No related tags found
No related merge requests found
#include "CapMan.hpp"
// C++ system level
// #include <cstring> // memset, strncmp
// #include <cstdlib> // TODO: is this for memcpy?
// #include <functional>
// ESP32 specific
// #include "esp_err.h"
#include "esp_log.h"
// #include "driver/gpio.h"
// #include "driver/uart.h"
// project specific
#include "SpiderLib/NumberTypes.hpp"
// qthing stuff
// #include <qthing>
/*
namespace SiliconTorch {
// CapabilityManager
namespace CapMan {
void CapMan::publish() {
ESP_LOGW(TAG, "Not implemented!");
}
}
}
*/
\ No newline at end of file
#pragma once
// C++ system level
// #include <string>
// #include <cstring> // memset, strncmp
// #include <cstdlib> // TODO: is this for memcpy?
// #include <functional>
// ESP32 specific
// #include "esp_err.h"
#include "esp_log.h"
// #include "driver/gpio.h"
// #include "driver/uart.h"
// project specific
#include "SpiderLib/NumberTypes.hpp"
// qthing stuff
// #include <qthing>
/*
namespace SiliconTorch {
// CapabilityManager
namespace CapMan {
enum ColorType {
RGB,
RGBW,
RGBWYU,
Greyscale,
CyanLight, // Like GreyScale but with differently colored Pixels
Monochrome,
};
class CapMan {
public:
void registerLEDStrip(std::string& name, u16 startIdx, u16 length, ColorType);
// void registerExtension(std::string& name);
// void registerExtension(std::string& name, std::initializer_list<std::pair<>> properties);
void publish();
// ⬇⬇ Singleton stuff ⬇⬇
static CapMan& instance() {
static CapMan _instance;
return _instance;
}
CapMan(CapMan const&) = delete;
void operator=(CapMan const&) = delete;
// ⬆⬆ Singleton stuff ⬆⬆
private:
};
}
}
*/
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment