FastLED 3.10.6
Loading...
Searching...
No Matches

◆ registeredDriverNames()

fl::vector< fl::string > autoresearch::flex_io::registeredDriverNames ( )
inline

Return the list of registered driver names.

The FLEX_IO slot's binding is inferred by name — callers can match against the silicon-specific expected name (I2S_SPI / PARLIO / LCD_RGB / LCD_CLOCKLESS / etc.) or just report the entire list.

Direct Bus::FLEX_IO, instance introspection requires the driver to grow a getBus() / getInstance() method — currently IChannelDriver::getName() is the only public identity. When those getters arrive, this helper collapses to a one-line lookup; for now it returns all registered names so the host can pick.

Definition at line 93 of file AutoResearchFlexIo.h.

93 {
95 auto& manager = fl::channelManager();
96 auto infos = manager.getDriverInfos();
97 for (const auto& info : infos) {
98 if (!info.name.empty()) {
99 names.push_back(info.name);
100 }
101 }
102 return names;
103}
void push_back(const T &value) FL_NO_EXCEPT
Definition vector.h:624
ChannelManager & channelManager()
Get the global ChannelManager singleton instance.

References fl::channelManager(), FL_NO_EXCEPT, and fl::vector< T >::push_back().

Referenced by buildDeviceInfo(), and firstDriverName().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: